OSDN Git Service

Remove typedef of Translate_t and the declaration of struct
[xkeymacs/xkeymacs.git] / xkeymacs / xkeymacs.h
1 // xkeymacs.h : main header file for the XKEYMACS application\r
2 //\r
3 \r
4 #if !defined(AFX_XKEYMACS_H__2E65B9CB_5ADB_4C3B_891F_8EFE395FBB2D__INCLUDED_)\r
5 #define AFX_XKEYMACS_H__2E65B9CB_5ADB_4C3B_891F_8EFE395FBB2D__INCLUDED_\r
6 \r
7 #if _MSC_VER > 1000\r
8 #pragma once\r
9 #endif // _MSC_VER > 1000\r
10 \r
11 #ifndef __AFXWIN_H__\r
12         #error include 'stdafx.h' before including this file for PCH\r
13 #endif\r
14 \r
15 #include "resource.h"       // main symbols\r
16 \r
17 /////////////////////////////////////////////////////////////////////////////\r
18 // CXkeymacsApp:\r
19 // See xkeymacs.cpp for the implementation of this class\r
20 //\r
21 \r
22 class CXkeymacsApp : public CWinApp\r
23 {\r
24 public:\r
25         CXkeymacsApp();\r
26 \r
27 // Overrides\r
28         // ClassWizard generated virtual function overrides\r
29         //{{AFX_VIRTUAL(CXkeymacsApp)\r
30         public:\r
31         virtual BOOL InitInstance();\r
32         virtual int ExitInstance();\r
33         //}}AFX_VIRTUAL\r
34 \r
35 // Implementation\r
36         //{{AFX_MSG(CXkeymacsApp)\r
37                 // NOTE - the ClassWizard will add and remove member functions here.\r
38                 //    DO NOT EDIT what you see in these blocks of generated code !\r
39         //}}AFX_MSG\r
40         DECLARE_MESSAGE_MAP()\r
41 private:\r
42         HANDLE m_hMutex;\r
43 };\r
44 \r
45 /////////////////////////////////////////////////////////////////////////////\r
46 // CAboutDlg dialog used for App About\r
47 \r
48 class CAboutDlg : public CDialog\r
49 {\r
50 public:\r
51         CAboutDlg();\r
52 \r
53 // Dialog Data\r
54         //{{AFX_DATA(CAboutDlg)\r
55         enum { IDD = IDD_ABOUTBOX };\r
56         CStatic m_cURL;\r
57         CString m_szVersionInformation;\r
58         CString m_szLegalCopyright;\r
59         //}}AFX_DATA\r
60 \r
61         // ClassWizard generated virtual function overrides\r
62         //{{AFX_VIRTUAL(CAboutDlg)\r
63         protected:\r
64         virtual void DoDataExchange(CDataExchange *pDX);    // DDX/DDV support\r
65         //}}AFX_VIRTUAL\r
66 \r
67 // Implementation\r
68 protected:\r
69         //{{AFX_MSG(CAboutDlg)\r
70         virtual void OnOK();\r
71         afx_msg void OnClose();\r
72         afx_msg void OnUrl();\r
73         afx_msg HBRUSH OnCtlColor(CDC *pDC, CWnd *pWnd, UINT nCtlColor);\r
74         afx_msg BOOL OnSetCursor(CWnd *pWnd, UINT nHitTest, UINT message);\r
75         //}}AFX_MSG\r
76         DECLARE_MESSAGE_MAP()\r
77 };\r
78 \r
79 /////////////////////////////////////////////////////////////////////////////\r
80 \r
81 //{{AFX_INSERT_LOCATION}}\r
82 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.\r
83 \r
84 #endif // !defined(AFX_XKEYMACS_H__2E65B9CB_5ADB_4C3B_891F_8EFE395FBB2D__INCLUDED_)\r