-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathADObject.h
32 lines (28 loc) · 876 Bytes
/
ADObject.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include <MAP>
using namespace std;
#ifndef _ADOBJECT
#define _ADOBJECT
class ADObject : public CObject
{
DECLARE_SERIAL(ADObject)
public:
map<CString, CString> infos;
map<CString, CString> fatherInfos;
map<CString, CString> childGroupInfos;
map<CString, CString> childUserInfos;
map<CString, CString> accessInfos;
map<CString, CString> networkInfos;
public:
ADObject();
void Serialize(CArchive &ar);
void addPairToInfos(CString strKey, CString strValue);
void addPairToFatherInfos(CString strKey, CString strValue);
void addPairToChildGroupInfos(CString strKey, CString strValue);
void addPairToChildUserInfos(CString strKey, CString strValue);
void addPairToAccessInfos(CString strKey, CString strValue);
void addPairToNetworkInfos(CString strKey, CString strValue);
void clearInfos();
virtual void onButttonDown();
virtual void onButtonUp();
};
#endif