X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOWxGimmickView.h;h=fd22e481f08372c4c3879bebae8875d65fd8c2f1;hb=76333a5e03570f128968eac6077cd4c2972ea6be;hp=06966a5081a4666de1235e9a2f21cc27ee855d04;hpb=5142cb6cbb8bec738b3f22920effc9a6ec40fc3b;p=creaImageIO.git diff --git a/src2/creaImageIOWxGimmickView.h b/src2/creaImageIOWxGimmickView.h index 06966a5..fd22e48 100644 --- a/src2/creaImageIOWxGimmickView.h +++ b/src2/creaImageIOWxGimmickView.h @@ -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(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,16 +108,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