+ /// Add the files to the given TreeHandler
+ void AddFiles(const std::string& handler,
+ const std::vector<std::string>& filenames);
+
+ /// Add a dir to the given TreeHandler
+ void AddDir(const std::string& handler, const std::string& path,
+ bool recurse);
+
+ ///Synchronizes the loaded data with the database. If remove is true the database will be updated, otherwise
+ ///only a warning sign will be issued
+ void Synchronize(bool update, TreeHandler* handler);
+
+ /// Prints the tree handled by the handler
+ void Print(const std::string& handler);
+
+
+ /// Returns the TreeHandler with a given name
+ TreeHandler* GetTreeHandler(const std::string& name) const;
+ ///
+ SQLiteTreeHandler* GetLocalDatabase() { return mLocalDatabase; }
+
+ const SQLiteTreeHandler* GetLocalDatabase() const
+ { return mLocalDatabase; }
+
+
+
+ ///