OSDN Git Service

Use the reg command to import/export properties
[xkeymacs/xkeymacs.git] / xkeymacs / propertiesadvanced.h
index cc1e250..4a3caa9 100644 (file)
@@ -7,6 +7,10 @@
 // PropertiesAdvanced.h : header file\r
 //\r
 \r
+#include "resource.h"\r
+#include "../xkeymacsdll/Commands.h"\r
+class CProperties;\r
+\r
 /////////////////////////////////////////////////////////////////////////////\r
 // CPropertiesAdvanced dialog\r
 \r
@@ -18,7 +22,7 @@ class CPropertiesAdvanced : public CPropertyPage
 public:\r
        void EnableControl();\r
        void GetDialogData();\r
-       void SetDialogData(CString szApplicationName);\r
+       void SetDialogData();\r
        CPropertiesAdvanced();\r
        ~CPropertiesAdvanced();\r
 \r
@@ -67,13 +71,13 @@ protected:
        //}}AFX_MSG\r
        DECLARE_MESSAGE_MAP()\r
 private:\r
-       static int m_nApplicationID;\r
+       static int m_nAppID;\r
        static BOOL IsFooDown(CString szCommandName);\r
        static BOOL IsShiftDown();\r
        static BOOL IsMetaDown();\r
        static BOOL IsCtrlDown();\r
        void InitCommandIDs();\r
-       static void SetCommandID(int nCommandType, int nKey, int nCommandID);\r
+       static void SetCmdID(int nType, int nKey, int nComID);\r
        static int m_nCommandIDs[MAX_COMMAND_TYPE][MAX_KEY];\r
        static void SetNewKey();\r
        static int m_nAssignKey;\r
@@ -96,10 +100,11 @@ private:
        void SetCommands();\r
        void InitCategoryList();\r
        CProperties* m_pProperties;\r
-       void UpdateDialogData(CString szApplicationName, BOOL bSaveAndValidate = TRUE);\r
 };\r
 \r
 //{{AFX_INSERT_LOCATION}}\r
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.\r
 \r
+#include "properties.h"\r
+\r
 #endif // !defined(AFX_PROPERTIESADVANCED_H__41C61B2B_97BA_4015_8F1E_CA65AC628E42__INCLUDED_)\r