From e5f19af9a5829a307951785e850e53fc4fcfac90 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Thu, 10 Aug 2017 18:07:02 -0300 Subject: Model 1 machine fixed, init file under implementation --- Project/MainFrame.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Project/MainFrame.h') diff --git a/Project/MainFrame.h b/Project/MainFrame.h index af1ee3e..d7ff171 100644 --- a/Project/MainFrame.h +++ b/Project/MainFrame.h @@ -13,6 +13,7 @@ class Workspace; class FileHanding; class GeneralPropertiesForm; class SimulationsSettingsForm; +class PropertiesData; enum { ID_ADDMENU_BUS = 20000, @@ -30,7 +31,7 @@ class MainFrame : public MainFrameBase { public: MainFrame(); - MainFrame(wxWindow* parent, wxLocale* locale); + MainFrame(wxWindow* parent, wxLocale* locale, PropertiesData* initProperties); ~MainFrame(); protected: @@ -69,13 +70,14 @@ class MainFrame : public MainFrameBase virtual void OnUndoClick(wxRibbonButtonBarEvent& event); virtual void OnNewClick(wxRibbonButtonBarEvent& event); - private: + protected: std::vector m_workspaceList; int m_projectNumber = 1; wxRibbonMetroArtProvider* m_artMetro = NULL; wxMenu* m_addElementsMenu = NULL; wxLocale* m_locale = NULL; + PropertiesData* m_generalProperties = NULL; void Init(); void EnableCurrentProjectRibbon(bool enable = true); -- cgit