Do not shadow variables
[TortoiseGit.git] / src / TGitCache / TGITCache.h
blob7964dbfcd8133f1a5aaa5a0b68caf0de755fb822
1 // TortoiseGit - a Windows shell extension for easy version control
3 // External Cache Copyright (C) 2005 - 2006 - Will Dean, Stefan Kueng
4 // Copyright (C) 2014 - TortoiseGit
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software Foundation,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #pragma once
22 #define BUFSIZE 4096
23 #define MAX_CRAWLEDPATHS 15
24 #define MAX_CRAWLEDPATHSLEN (MAX_PATH * 2)
26 extern HWND hWndHidden;
27 extern TCHAR szCurrentCrawledPath[MAX_CRAWLEDPATHS][MAX_CRAWLEDPATHSLEN];
29 extern int nCurrentCrawledpathIndex;
30 extern CComAutoCriticalSection critSec;
32 #define TRAY_CALLBACK (WM_APP + 1)
33 #define TRAYPOP_EXIT (WM_APP + 1)
34 #define TRAYPOP_ENABLE (WM_APP + 2)
35 #define TRAY_ID 101