]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOTreeHandlerImageAdder.h
*** empty log message ***
[creaImageIO.git] / src2 / creaImageIOTreeHandlerImageAdder.h
index 60654911c76c14976cd47a516c5f41b76f581901..fe3c31da644ebe6f28219e1810e23df13c376915 100644 (file)
@@ -37,6 +37,8 @@ namespace creaImageIO
     void SetTimestampHandler(TimestampDatabaseHandler* tdh) { mTimestampHandler = tdh;}
        /// Sets the synchronizer
        void SetSynchronizer(Synchronizer* s){mSynchronizer=s;}
+       /// Sets the synchronizer
+       void SetCurrentDatabase(std::string cur){mCurrentDB=cur;}
     //====================================================================
 
     //====================================================================
@@ -121,6 +123,8 @@ namespace creaImageIO
                                                        std::vector<std::string> &i_ignorefiles,
                                                        std::vector<std::string> & attsModified,
                                                        std::vector<std::string> & newfiles);
+       ///Copies the files indicated in the vector and updates all databases
+       void CopyFiles(const std::vector<std::string>& filenames, const std::string directory  );
        ///Finds the node that matches the specified parameters
        void FindNode(tree::Node* parent, int level, 
                const std::string& searchParam, 
@@ -147,6 +151,7 @@ namespace creaImageIO
        TimestampDatabaseHandler* mTimestampHandler;
        Synchronizer* mSynchronizer;
     ImageReader mReader;
+       std::string mCurrentDB;
     
     Progress mProgress;
     ProgressSignalType mProgressSignal;