Code::Blocks
SVN r11506
include
uservarmanager.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 USER_VARIABLE_MANAGER_H
7
#define USER_VARIABLE_MANAGER_H
8
9
#include "
settings.h
"
10
#include "
manager.h
"
11
#include "
cbexception.h
"
12
13
#ifndef CB_PRECOMP
14
#include "
globals.h
"
15
#endif
16
17
class
DLLIMPORT
UserVariableManager
:
public
Mgr
<UserVariableManager>
18
{
19
friend
class
Manager
;
20
friend
class
Mgr
<
UserVariableManager
>;
21
friend
class
MacrosManager
;
22
23
ConfigManager
*
m_CfgMan
;
24
wxString
m_ActiveSet
;
25
wxArrayString
m_Preempted
;
26
27
public
:
28
UserVariableManager
();
29
30
wxString
Replace(
const
wxString
& variable);
31
32
wxString
GetVariable(
wxWindow
*parent,
const
wxString
&old);
33
34
void
Preempt(
const
wxString
& variable);
35
void
Arrogate();
36
bool
Exists(
const
wxString
& variable)
const
;
37
38
void
Configure();
39
void
Migrate();
40
41
UserVariableManager
&
operator=
(cb_unused
const
UserVariableManager
& rhs)
// prevent assignment operator
42
{
43
cbThrow
(
_T
(
"Can't assign a UserVariableManager* !!!"
));
44
return
*
this
;
45
}
46
private
:
47
UserVariableManager
(cb_unused
const
UserVariableManager
& rhs);
// prevent copy construction
48
};
49
50
#endif // USER_VARIABLE_MANAGER_H
UserVariableManager::m_Preempted
wxArrayString m_Preempted
Definition:
uservarmanager.h:25
UserVariableManager::m_CfgMan
ConfigManager * m_CfgMan
Definition:
uservarmanager.h:23
manager.h
Manager
Definition:
manager.h:48
MacrosManager
Definition:
macrosmanager.h:23
_T
#define _T(string)
UserVariableManager::m_ActiveSet
wxString m_ActiveSet
Definition:
uservarmanager.h:24
DLLIMPORT
#define DLLIMPORT
Definition:
settings.h:16
settings.h
wxString
cbexception.h
Mgr
Definition:
manager.h:183
ConfigManager
Definition:
configmanager.h:94
cbThrow
#define cbThrow(message)
Definition:
cbexception.h:42
UserVariableManager::operator=
UserVariableManager & operator=(cb_unused const UserVariableManager &rhs)
Definition:
uservarmanager.h:41
UserVariableManager
Definition:
uservarmanager.h:17
wxArrayString
wxWindow
globals.h
Generated by
1.8.13