1 // TortoiseSVN - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2008 - TortoiseSVN
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #error include 'stdafx.h' before including this file for PCH
26 #include "resource.h" // main symbols
29 #include "..\\TortoiseShell\\resource.h"
30 //#include "UnicodeUtils.h"
36 * \ingroup TortoiseProc
37 * Main class of the TortoiseProc.exe\n
38 * It is the entry point when calling the TortoiseProc.exe and
39 * handles the command line. Depending on the command line
40 * other 'modules' are called, usually dialog boxes which
41 * themselves then execute a specific function.\n\n
42 * Many commands are executed using the CSVNProgressDlg which
43 * just displays the common notify callbacks of the Subversion commands.
47 class CTortoiseProcApp
: public CWinAppEx
55 virtual BOOL
InitInstance();
56 virtual int ExitInstance();
58 BOOL
CheckMsysGitDir();
61 void EnableCrashHandler();
63 ULONG_PTR m_gdiplusToken
;
74 extern CTortoiseProcApp theApp
;
75 extern HWND hWndExplorer
;
76 extern CString sOrigCWD
;