namespace creaImageIO
{
+ /**
+ * \defgroup Controller Controller
+ */
+ /**
+ * \defgroup View View
+ */
+ /**
+ * \defgroup Model Model
+ */
+
+ /**
+ * \ingroup Controller
+ */
//=======================================================================
/// Central controler of the gimmick application
/// 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();