]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOWxGimmickView.h
Added synchronization
[creaImageIO.git] / src2 / creaImageIOWxGimmickView.h
index 73b7d450ae152e522444d9ea160649d58ff092d9..3f46561bb640d917cfd7287965c733180c05ad38 100644 (file)
@@ -59,6 +59,8 @@ namespace creaImageIO
                           bool isSelection, int selection, bool mProcess);
     ///Stops the player
     void StopPlayer(){mViewer->StopPlayer();}
+       ///Adds a file to ignore
+       void AddIgnoreFile(const tree::Node* & toRemove);
     ///Resets the default image
     void ClearSelection();
     
@@ -88,6 +90,7 @@ namespace creaImageIO
     wxToolBarToolBase* mToolRemove;
     wxToolBarToolBase* mToolAddDatabase;
     wxToolBarToolBase* mToolHelp;
+       wxToolBarToolBase* mToolSynchronize;
     
     wxSplitterWindow* mSplitter;
     wxPanel*          mBottomPanel;
@@ -105,6 +108,8 @@ 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();
@@ -116,6 +121,9 @@ namespace creaImageIO
     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);
     
     /// Progress dialog
     wxProgressDialog* mProgressDialog;