void SetTimestampHandler(TimestampDatabaseHandler* tdh) { mTimestampHandler = tdh;}
/// Sets the synchronizer
void SetSynchronizer(Synchronizer* s){mSynchronizer=s;}
+ /// Sets the synchronizer
+ void SetCurrentDatabase(std::string cur){mCurrentDB=cur;}
//====================================================================
//====================================================================
void AddDirectory( const std::string& directory,
bool recurse);
/// Removes a file from the databases
- void RemoveFile(const tree::Node*& node);
+ void RemoveFile(tree::Node* node);
/// Removes files from the databases
void RemoveFiles(const std::vector<tree::Node*>& nodes);
/// Synchronizes the DB and disk by repeating the operations the user has done and returns a report
TimestampDatabaseHandler* mTimestampHandler;
Synchronizer* mSynchronizer;
ImageReader mReader;
+ std::string mCurrentDB;
Progress mProgress;
ProgressSignalType mProgressSignal;