X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMMainFrame.h;h=3cacf8afbc168ec7f921d2acd81d0e17245e291e;hb=5a424b13e6083c6d64db181e5c4b3022e56193e7;hp=b5180f16620b52065f9a59d531564f5430a8f344;hpb=632f2dfd01d620008c9b15a136e9ac3d4b96614b;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMMainFrame.h b/lib/creaDevManagerLib/wxCDMMainFrame.h index b5180f1..3cacf8a 100755 --- a/lib/creaDevManagerLib/wxCDMMainFrame.h +++ b/lib/creaDevManagerLib/wxCDMMainFrame.h @@ -125,6 +125,10 @@ protected: private: //Menus + /** + * Recently opened projects menu + */ + wxMenu* menu_Recent; /** * File menu */ @@ -177,6 +181,13 @@ private: //events protected: + + /** + * Starts when the menu bar is opened. + * @param event The event object that triggers the handler. + */ + void OnMenuBarOpen(wxMenuEvent& event); + //File /** * New project handler. Launches a new project dialog and creates a project model if the project is correctly created. @@ -188,6 +199,11 @@ protected: * @param event The event object that triggers the handler. */ void OnMenuOpenProject(wxCommandEvent& event); + /** + * Open recent project handler. Creates a project model if the project is correctly opened given its path. + * @param event The event object that triggers the handler. + */ + void OnMenuOpenRecent(wxCommandEvent& event); /** * Close project handler. Remove the project from the model and restarts the user interface. * @param event The event object that triggers the handler.