29 #ifndef __creaImageIOGimmick_h_INCLUDED__ 
   30 #define __creaImageIOGimmick_h_INCLUDED__ 
   42 #define DEBUG_NEW new(_NORMAL_BLOCK ,__FILE__, __LINE__) 
  137     { mImageAdder.ConnectProgressObserver(callback); }
 
  146         void Initialize(
const std::string 
namedescp, 
const std::string 
namedb = 
"Local Database");
 
  152     static void SetMessageLevel(
int level);
 
  154     static void SetDebugMessageLevel(
int level);
 
  166     { 
return mTreeHandlerMap; }    
 
  169     void AddFiles(
const std::string& handler,
 
  170                   const std::vector<std::string>& filenames);
 
  173     void AddDir(
const std::string& handler, 
const std::string& path, 
 
  177         void RemoveFile(
const std::string& d, 
 
  181         void DeleteDrive(
const std::string& drive);
 
  185         void CopyFiles(
const std::vector<std::string>& filenames, 
const std::string& d );
 
  190         std::string Synchronize(
const std::string& d, 
bool repair, 
bool checkAttributes);
 
  193     void Print(
const std::string& handler);
 
  197                                 const std::string &i_locDesc, 
 
  198                                 const std::string &i_locDB);
 
  201         void addDB(
const std::string &i_nameDB, 
const std::string &i_locationDB);
 
  204     TreeHandler* GetTreeHandler(
const std::string& name) 
const;
 
  212         void GetSetting(
const std::string& name, std::string& value);
 
  215         void UpdateSetting(
const std::string& name, 
const std::string& value);
 
  218     void addDBSettings();
 
  221         void EditField(
tree::Node* node, 
const std::string& d, 
const std::string& name, 
const std::string& key, 
const std::string& val);
 
  224         void GetAttributes(
const std::string& d, 
 
  225           const std::string& filename, 
 
  226           const std::vector<std::string>& params, 
 
  227           std::vector<std::string>& results);
 
  230         void GetAttributes(
const std::string filename, std::map<std::string, std::string> &i_res, 
OutputAttr i_attr);
 
  232     const std::string& GetHomeDirectory();
 
  233     const std::string& GetUserSettingsDirectory();
 
  234     void CreateUserSettingsDirectory();
 
  235     const std::string& GetLocalDatabasePath();
 
  238         void fillVectInfos(std::vector<std::string> i_attr, 
OutputAttr &infos);
 
  241     const std::string getSummary();