// TortoiseGit - a Windows shell extension for easy version control

// External Cache Copyright (C) 2005 - 2006 - Will Dean, Stefan Kueng
// Copyright (C) 2014 - TortoiseGit

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software Foundation,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//
#pragma once

#define BUFSIZE 4096
#define MAX_CRAWLEDPATHS 15
#define MAX_CRAWLEDPATHSLEN (MAX_PATH * 2)

extern HWND				hWndHidden;
extern wchar_t			szCurrentCrawledPath[MAX_CRAWLEDPATHS][MAX_CRAWLEDPATHSLEN];

extern int nCurrentCrawledpathIndex;
extern CComAutoCriticalSection critSec;

#define TRAY_CALLBACK	(WM_APP + 1)
#define TRAYPOP_EXIT	(WM_APP + 1)
#define TRAYPOP_ENABLE	(WM_APP + 2)
#define TRAY_ID			101

