Code::Blocks  SVN r11506
workspaceloader.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3  * http://www.gnu.org/licenses/lgpl-3.0.html
4  */
5 
6 #ifndef WORKSPACELOADER_H
7 #define WORKSPACELOADER_H
8 
9 #include "ibaseworkspaceloader.h"
10 
11 #include "settings.h" // DLLIMPORT
12 
13 #define WORKSPACE_LAYOUT_FILE_VERSION_MAJOR 1
14 #define WORKSPACE_LAYOUT_FILE_VERSION_MINOR 0
15 
17 {
18  public:
20  ~WorkspaceLoader() override;
21 
22  bool Open(const wxString& filename, wxString& Title) override;
23  bool Save(const wxString& title, const wxString& filename) override;
24 
25  bool SaveLayout(const wxString& filename);
26  bool LoadLayout(const wxString& filename);
27 };
28 
29 #endif // WORKSPACELOADER_H
virtual bool Open(const wxString &filename, wxString &Title)=0
#define DLLIMPORT
Definition: settings.h:16
virtual bool Save(const wxString &title, const wxString &filename)=0