Code::Blocks  SVN r11506
personalitymanager.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 PERSONALITYMANAGER_H
7 #define PERSONALITYMANAGER_H
8 
9 #include "settings.h"
10 #include "manager.h"
11 #include <wx/dynarray.h>
12 
31 class DLLIMPORT PersonalityManager : public Mgr<PersonalityManager>
32 {
33  static wxString pers;
34 
36 
37  public:
38  friend class Mgr<PersonalityManager>;
39  friend class Manager; // give Manager access to our private members
40 
42  void SetPersonality(const wxString& personality, bool createIfNotExist = false);
44  const wxString GetPersonality();
46  const wxArrayString GetPersonalitiesList();
47 };
48 
49 #endif // PERSONALITYMANAGER_H
Manage different personalities.
#define DLLIMPORT
Definition: settings.h:16
Definition: manager.h:183
static wxString pers