X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src2%2FcreaImageIOGimmick.h;h=93d982a99c10a12d940665891ec4c957f1596f35;hb=e084e1d404c6353f9b6d552fe014e98fecdf4cac;hp=b61874b0831c4e39044f82d892bd1b36157e4fe5;hpb=f130d194cc0f1c9380f3907a45020e199e4b5c0a;p=creaImageIO.git diff --git a/src2/creaImageIOGimmick.h b/src2/creaImageIOGimmick.h index b61874b..93d982a 100644 --- a/src2/creaImageIOGimmick.h +++ b/src2/creaImageIOGimmick.h @@ -3,6 +3,7 @@ #include #include +#include namespace creaImageIO { @@ -24,6 +25,9 @@ namespace creaImageIO /** * \defgroup Tree Attributed tree management */ + /** + * \defgroup Previewer Preview related + */ /** * \ingroup Controller @@ -86,6 +90,10 @@ namespace creaImageIO 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); @@ -111,6 +119,7 @@ namespace creaImageIO private: SQLiteTreeHandler* mLocalDatabase; TreeHandlerMapType mTreeHandlerMap; + Synchronizer* mSynchronizer; std::string mCurrentDirectory; std::string mHomeDirectory;