diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-09-19 21:14:46 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-19 21:14:46 -0300 |
commit | fa2776e9a939a793a9e46a0cc5880dda868e7028 (patch) | |
tree | 302f16d6d9af20a293d18d8a553ba2eac19a0fae /Project/MainFrame.h | |
parent | 3be51dc6e55414c76e7059a8dffa74a99268a7c8 (diff) | |
parent | 011fe58b631f66b715b0ba0d3f8be58277b355b2 (diff) | |
download | PSP.git-fa2776e9a939a793a9e46a0cc5880dda868e7028.tar.gz PSP.git-fa2776e9a939a793a9e46a0cc5880dda868e7028.tar.xz PSP.git-fa2776e9a939a793a9e46a0cc5880dda868e7028.zip |
Merge pull request #38 from Thales1330/wip/open-dot-psp
Wip open dot psp
Diffstat (limited to 'Project/MainFrame.h')
-rw-r--r-- | Project/MainFrame.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/Project/MainFrame.h b/Project/MainFrame.h index 876b57c..2b91b20 100644 --- a/Project/MainFrame.h +++ b/Project/MainFrame.h @@ -30,11 +30,32 @@ enum { ID_ADDMENU_SYNCCOMP }; +/** + * @class MainFrame + * @author Thales Lima Oliveira <thales@ufu.br> + * @date 19/09/2017 + * @file MainFrame.h + * @brief Main frame of the program. This class manage the ribbon menu and the notebook behavior. + */ class MainFrame : public MainFrameBase { public: + /** + * @brief Default constructor. + */ + MainFrame(); - MainFrame(wxWindow* parent, wxLocale* locale, PropertiesData* initProperties); + /** + * @brief Main frame contructor. + * @param parent Parent window. + * @param locale Locale settings. + * @param initProperties Initial properties. + */ + MainFrame(wxWindow* parent, wxLocale* locale, PropertiesData* initProperties, wxString openPath = ""); + + /** + * @brief Default destructor. + */ ~MainFrame(); protected: @@ -73,7 +94,6 @@ class MainFrame : public MainFrameBase virtual void OnUndoClick(wxRibbonButtonBarEvent& event); virtual void OnNewClick(wxRibbonButtonBarEvent& event); - protected: std::vector<Workspace*> m_workspaceList; int m_projectNumber = 1; |