]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOGimmick.h
addding desciptor name and DB name as Gimmick options
[creaImageIO.git] / src2 / creaImageIOGimmick.h
index 0705046e224eabf32c94e1f8a6355fe547a06bdb..c6eb5a36f9b9d71e4258436628cef56af1de86a9 100644 (file)
@@ -6,6 +6,12 @@
 #include <creaImageIOSynchron.h>
 #include <creaImageIOSettings.h>
 
+#ifdef _RELWITHDEBINFO
+#include <crtdbg.h>
+#define DEBUG_NEW new(_NORMAL_BLOCK ,__FILE__, __LINE__)
+#else
+#define DEBUG_NEW new
+#endif
 
 #ifdef _DEBUG
 #include <crtdbg.h>
@@ -97,7 +103,7 @@ namespace creaImageIO
     void Initialize();
 
        /// Initializes with the local database descriptor in the path given (read/creates databases, etc.)
-    void Initialize(const std::string& path);
+       void Initialize(const std::string& namedescp, const std::string namedb = "Local Database");
     
     /// Finalize (closes databases, etc.)
     void Finalize();
@@ -197,6 +203,8 @@ namespace creaImageIO
     std::string mLocalDatabasePath;
        Settings        *mSettings;
     TreeHandlerImageAdder mImageAdder;
+       std::string mLocalDBName;
+       std::string mLocalDescpName;
   };
   // EO class Gimmick
   //=======================================================================