defuze.me  Client
Public Member Functions
DB::Location Class Reference

This class is used to store informations about one of the database file. More...

#include <location.hpp>

List of all members.

Public Member Functions

 Location (const QString path)
QString filePath () const
QDir dirPath () const
bool exists () const
QDateTime lastModified () const
 Return file last modification date.
int age () const
 Return number of seconds since last modification.
bool & open ()
 Return if this location is the current database.
void reload ()
void mkPath () const
 Create all folders contained in the path.

Detailed Description

This class is used to store informations about one of the database file.

We will have one instance per replication path.

Definition at line 25 of file location.hpp.


The documentation for this class was generated from the following files: