OSDN Git Service

Add declarations of index variables.
[xkeymacs/xkeymacs.git] / xkeymacs / data.h
1 #ifndef DATA_H_INCLUDED\r
2 #define DATA_H_INCLUDED\r
3 \r
4 #if _MSC_VER > 1000\r
5 #pragma once\r
6 #endif // _MSC_VER > 1000\r
7 \r
8 class CData  \r
9 {\r
10 public:\r
11         void ClearAll();\r
12         void Set326Compatible(BOOL b326Compatible);\r
13         BOOL Get326Compatible();\r
14         int GetWindowTextType();\r
15         void SetWindowTextType(int nWindowTextType);\r
16         CString GetWindowText();\r
17         void SetWindowText(LPCTSTR lpszWindowText);\r
18         void SetUseDialogSetting(BOOL bUseDialogSetting);\r
19         BOOL GetUseDialogSetting();\r
20         BOOL GetEnableCUA();\r
21         void SetEnableCUA(BOOL bEnableCUA);\r
22         BOOL GetIgnoreUndefinedC_x();\r
23         void SetIgnoreUndefinedC_x(BOOL bIgnoreUndefinedC_x);\r
24         BOOL GetIgnoreUndefinedMetaCtrl();\r
25         void SetIgnoreUndefinedMetaCtrl(BOOL bIgnoreUndefinedMetaCtrl);\r
26         void SetSettingStyle(int nSettingStyle);\r
27         int GetSettingStyle();\r
28         void SetKillRingMax(int nKillRingMax);\r
29         int GetKillRingMax();\r
30         CString GetApplicationTitle();\r
31         void SetApplicationTitle(LPCTSTR lpszApplicationTitle);\r
32         int GetCommandID(int nCommandType, int nKey);\r
33         void SetCommandID(int nCommandType, int nKey, int nCommandID);\r
34         CString GetApplicationName();\r
35         void SetApplicationName(LPCTSTR lpszApplicationName);\r
36         CData();\r
37         virtual ~CData();\r
38 private:\r
39         BOOL m_b326Compatible;\r
40         int m_nWindowTextType;\r
41         CString m_strWindowText;\r
42         BOOL m_bEnableCUA;\r
43         BOOL m_bUseDialogSetting;\r
44         BOOL m_bIgnoreUndefinedC_x;\r
45         BOOL m_bIgnoreUndefinedMetaCtrl;\r
46         int m_nSettingStyle;\r
47         int m_nKillRingMax;\r
48         CString m_strApplicationTitle;\r
49         CString m_strApplicationName;\r
50         int m_nCommandID[MAX_COMMAND_TYPE][MAX_KEY];\r
51 };\r
52 \r
53 #endif // DATA_H_INCLUDED\r