]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOWxGimmickView.h
Added local copy functionality.
[creaImageIO.git] / src2 / creaImageIOWxGimmickView.h
index 06966a5081a4666de1235e9a2f21cc27ee855d04..3881c8543c1e07f1be260a0d14fe9c50134bd4e7 100644 (file)
@@ -59,8 +59,12 @@ namespace creaImageIO
                           bool isSelection, int selection, bool mProcess);
     ///Stops the player
     void StopPlayer(){mViewer->StopPlayer();}
+    ///Adds a file to ignore
+    void AddIgnoreFile(tree::Node* toRemove);
     ///Resets the default image
     void ClearSelection();
+       ///Copies selected files
+       void CopyFiles(const std::vector<std::string>& filenames);
     
     
     ///Sends a request to read the currently selected node and the ones that surround it.
@@ -88,6 +92,7 @@ namespace creaImageIO
     wxToolBarToolBase* mToolRemove;
     wxToolBarToolBase* mToolAddDatabase;
     wxToolBarToolBase* mToolHelp;
+       wxToolBarToolBase* mToolSynchronize;
     
     wxSplitterWindow* mSplitter;
     wxPanel*          mBottomPanel;
@@ -105,16 +110,26 @@ namespace creaImageIO
     void OnAddDir(wxCommandEvent& event);
     /// Callback for removing files
     void OnRemove(wxCommandEvent& event);
+       /// Callback for removing files
+    void OnSynchronize(wxCommandEvent& event);
     
     /// Display a message box with the last addition statistics
     void DisplayAddSummary();
-    
+
+       /// Test a directory to know if contains sub-directory to analyze
+       bool isNeedRecursive(std::string i_name);
     
     /// AddProgress Gimmick callback
     void OnAddProgress( Gimmick::AddProgress& );
     /// Called upon to refresh the viewer once there are no actions to be done
     void OnInternalIdle();
+
+       // callback to add a database
+       void OnAddDB(wxCommandEvent& event);
     
+       //Create a DB from an Attributes Descriptor files 
+       void OnCreateDB(wxCommandEvent& event);
+
     /// Progress dialog
     wxProgressDialog* mProgressDialog;
     ///The selection's maximum dimension