]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOGimmick.h
*** empty log message ***
[creaImageIO.git] / src2 / creaImageIOGimmick.h
index 7a984a39987daef964e955ee3e752b7242362da8..9cd56660bcef50bb7cb325c181180865b88119db 100644 (file)
@@ -5,6 +5,19 @@
 
 namespace creaImageIO
 {
+       /**
+       * \defgroup Controller Controller
+       */
+       /**
+       * \defgroup View View
+       */
+       /**
+       * \defgroup Model Model
+       */
+
+       /**
+       * \ingroup Controller
+       */
 
   //=======================================================================
   /// Central controler of the gimmick application
@@ -22,8 +35,23 @@ namespace creaImageIO
     /// Finalize (closes databases, etc.)
     bool Finalize();
 
+    /// Sets level for messages "Gimmick!" 
+    void SetMessageLevel(int level);
+
+    /// Add a file to the local database
+    void AddFileToLocalDatabase(const std::string&);
+    /// Add a dir to the local database
+    void AddDirToLocalDatabase(const std::string&, bool recurse);
+
+    ///
+    void PrintLocalDatabase();
+
+    /// 
+    SQLiteTreeHandler* GetLocalDatabase() { return mLocalDatabase; }
 
+    const SQLiteTreeHandler* GetLocalDatabase() const { return mLocalDatabase; }
 
+    /// 
     const std::string& GetHomeDirectory();
     const std::string& GetUserSettingsDirectory();
     bool CreateUserSettingsDirectory();