OSDN Git Service

FormatPatch Finished
[tortoisegit/TortoiseGitJp.git] / src / TortoiseMerge / TortoiseMerge.h
1 // TortoiseMerge - a Diff/Patch program\r
2 \r
3 // Copyright (C) 2006-2008 - TortoiseSVN\r
4 \r
5 // This program is free software; you can redistribute it and/or\r
6 // modify it under the terms of the GNU General Public License\r
7 // as published by the Free Software Foundation; either version 2\r
8 // of the License, or (at your option) any later version.\r
9 \r
10 // This program is distributed in the hope that it will be useful,\r
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of\r
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
13 // GNU General Public License for more details.\r
14 \r
15 // You should have received a copy of the GNU General Public License\r
16 // along with this program; if not, write to the Free Software Foundation,\r
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
18 //\r
19 #pragma once\r
20 \r
21 #ifndef __AFXWIN_H__\r
22         #error include 'stdafx.h' before including this file for PCH\r
23 #endif\r
24 \r
25 #include "resource.h"       // main symbols\r
26 //#include "CrashReport.h"\r
27 \r
28 \r
29 /**\r
30  * \ingroup TortoiseMerge\r
31  * The application class of TortoiseMerge.\r
32  */\r
33 class CTortoiseMergeApp : public CWinAppEx\r
34 {\r
35 public:\r
36         CTortoiseMergeApp();\r
37 \r
38 \r
39 // Overrides\r
40 public:\r
41         virtual BOOL InitInstance();\r
42 \r
43 // Implementation\r
44         UINT  m_nAppLook;\r
45         BOOL  m_bHiColorIcons;\r
46 \r
47 protected:\r
48         afx_msg void OnAppAbout();\r
49         DECLARE_MESSAGE_MAP()\r
50 private:\r
51         static UINT_PTR CALLBACK CreatePatchFileOpenHook(HWND hDlg, UINT uiMsg, WPARAM wParam, LPARAM lParam);\r
52 \r
53 };\r
54 \r
55 extern CTortoiseMergeApp theApp;\r
56 //extern CCrashReport g_crasher;\r