OSDN Git Service

Give main roles to 32bit version and simplify 64bit version.
[xkeymacs/xkeymacs.git] / xkeymacs / xkeymacs.h
index a47fbb0..fa9433d 100644 (file)
 \r
 #include "resource.h"       // main symbols\r
 \r
-enum Instance\r
-{\r
-       FirstInstance,\r
-       SecondInstance,\r
-};\r
-\r
-\r
 /////////////////////////////////////////////////////////////////////////////\r
 // CXkeymacsApp:\r
 // See xkeymacs.cpp for the implementation of this class\r
@@ -41,57 +34,18 @@ public:
 \r
 // Implementation\r
        //{{AFX_MSG(CXkeymacsApp)\r
-       afx_msg void OnAppAbout();\r
                // NOTE - the ClassWizard will add and remove member functions here.\r
                //    DO NOT EDIT what you see in these blocks of generated code !\r
        //}}AFX_MSG\r
+       BOOL IsWow64();\r
+       BOOL SendIPCMessage(DWORD msg);\r
+       BOOL Create64bitProcess();\r
        DECLARE_MESSAGE_MAP()\r
 private:\r
-       Instance m_Instance;\r
        HANDLE m_hMutex;\r
+       BOOL m_bIsWow64;\r
 };\r
 \r
-/////////////////////////////////////////////////////////////////////////////\r
-// CAboutDlg dialog used for App About\r
-\r
-class CAboutDlg : public CDialog\r
-{\r
-public:\r
-       CAboutDlg();\r
-\r
-// Dialog Data\r
-       //{{AFX_DATA(CAboutDlg)\r
-       enum { IDD = IDD_ABOUTBOX };\r
-       CStatic m_cURL;\r
-       CString m_szVersionInformation;\r
-       CString m_szLegalCopyright;\r
-       //}}AFX_DATA\r
-\r
-       // ClassWizard generated virtual function overrides\r
-       //{{AFX_VIRTUAL(CAboutDlg)\r
-       protected:\r
-       virtual void DoDataExchange(CDataExchange *pDX);    // DDX/DDV support\r
-       //}}AFX_VIRTUAL\r
-\r
-// Implementation\r
-protected:\r
-       //{{AFX_MSG(CAboutDlg)\r
-       virtual void OnOK();\r
-       afx_msg void OnClose();\r
-       afx_msg void OnUrl();\r
-       afx_msg HBRUSH OnCtlColor(CDC *pDC, CWnd *pWnd, UINT nCtlColor);\r
-       afx_msg BOOL OnSetCursor(CWnd *pWnd, UINT nHitTest, UINT message);\r
-       //}}AFX_MSG\r
-       DECLARE_MESSAGE_MAP()\r
-};\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-\r
-typedef struct Translate {\r
-       WORD wLanguage;\r
-       WORD wCodePage;\r
-} Translate_t;\r
-\r
 //{{AFX_INSERT_LOCATION}}\r
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.\r
 \r