Fixed issue #1789: Tooltips not properly displayed in Log List if that commit has...
[TortoiseGit.git] / src / TortoiseGitBlame / TortoiseGitBlame.h
blobb7ddf7fcb1f87db4dbf96215b4f2e7c30f5c6c94
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2013 - TortoiseGit
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.
21 // TortoiseGitBlame.h : main header file for the TortoiseGitBlame application
23 #pragma once
25 #ifndef __AFXWIN_H__
26 #error "include 'stdafx.h' before including this file for PCH"
27 #endif
29 #include "resource.h" // main symbols
32 // CTortoiseGitBlameApp:
33 // See TortoiseGitBlame.cpp for the implementation of this class
36 class CTortoiseGitBlameApp : public CWinAppEx
38 public:
39 CTortoiseGitBlameApp();
40 ~CTortoiseGitBlameApp();
41 ULONG_PTR m_gdiplusToken;
43 // Overrides
44 public:
45 virtual BOOL InitInstance();
47 // Implementation
48 UINT m_nAppLook;
49 BOOL m_bHiColorIcons;
51 virtual void PreLoadState();
52 virtual void LoadCustomState();
53 virtual void SaveCustomState();
55 CString m_Rev;
56 afx_msg void OnAppAbout();
57 afx_msg void OnFileSettings();
58 DECLARE_MESSAGE_MAP()
59 virtual int ExitInstance();
62 extern CTortoiseGitBlameApp theApp;
63 extern CString sOrigCWD;
64 extern CString g_sGroupingUUID;
66 #ifdef _WIN64
67 #define APP_X64_STRING "x64"
68 #else
69 #define APP_X64_STRING ""
70 #endif