tagging release
[dasher.git] / trunk / Src / Win32 / Common / WinCommon.h
blob2b53865e0d848f9caf8f5ca5b22b7dd905932e5b
1 // Common.h
2 //
3 /////////////////////////////////////////////////////////////////////////////
4 //
5 // Copyright (c) 2005 David Ward
6 //
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef __WinCommon_h__
10 #define __WinCommon_h__
12 #pragma message("Compiling WinCommon.h.........................")
14 #define NOMINMAX
15 #define WIN32_LEAN_AND_MEAN // Excludes rarely-used stuff from the Windows headers
18 #include <atlbase.h>
19 #include <atlwin.h>
22 #include <windows.h>
23 #include <winbase.h>
24 #include <Commdlg.h>
25 #include <limits>
27 // Use common controls
28 #include <commctrl.h>
30 #include "../../Common/Common.h"
32 // windows.h provides the "generic" character type TCHAR.
33 #include "tchar.h" // this adds some useful macros
35 // Sometimes it is much easier to use strings, for which we have Tstring.
36 #include <string>
37 typedef std::basic_string < TCHAR > Tstring;
39 #include "../../Common/NoClones.h"
41 #include "WinUTF8.h"
42 #include "WinHelper.h"
43 #include "WinLocalisation.h"
45 #if DASHER_WIN32 <= 1300
46 namespace stdext = std;
47 #endif
50 #endif /* #ifndef __WinHelper_h__ */