From 6828926a4d4eefef4632e97646f639c8ec24d0ab Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 24 Apr 2015 21:11:51 +0000 Subject: HistoryStats project conversion git-svn-id: http://svn.miranda-ng.org/main/trunk@13110 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/stdafx.h | 132 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 plugins/HistoryStats/src/stdafx.h (limited to 'plugins/HistoryStats/src/stdafx.h') diff --git a/plugins/HistoryStats/src/stdafx.h b/plugins/HistoryStats/src/stdafx.h new file mode 100644 index 0000000000..6e49afefe2 --- /dev/null +++ b/plugins/HistoryStats/src/stdafx.h @@ -0,0 +1,132 @@ +#if !defined(HISTORYSTATS_GUARD__GLOABLS_H) +#define HISTORYSTATS_GUARD__GLOABLS_H + +#pragma warning(disable: 4018) // FIXME: supress "signed/unsigned mismatch" warnings + +/* + * nicer interface for miranda + */ + +#define _CRT_NON_CONFORMING_SWPRINTFS +#define _WIN32_WINDOWS 0x0500 // for WM_MOUSEWHEEL + +#pragma warning(disable:4267) + +#include +#include +#include +#include + +#pragma comment(lib, "UxTheme.lib") + +#include +#include + +#include +#include +#include + +#include +#include +#include + +#define MIRANDA_VER 0x0A00 + +#include + +#include // not used +#include // not used +#include // not used +#include +#include +#include // not used +#include // not used +#include +#include +#include // not used +#include // not used +#include // not used +#include // not used +#include // not used +#include // not used +#include +#include // not used +#include // not used +#include +#include // not used +#include // not used +#include +#include +#include // not used +#include +#include // not used +#include +#include +#include +#include // not used +#include // not used +#include // not used +#include + +#include // not used, depends on m_protosvc.h +#include // depends on m_protosvc.h + +#include +#include // our own header + +#include "mu_common.h" + +#include "version.h" + +/* + * some patterns and similar stuff we want to use everywhere + */ + +#include "utils/pattern.h" + +/* + * some language 'extensions' (people will hate me because of this) and useful classes + */ + +#include "_langext.h" +#include "_strfunc.h" +#include "_format.h" + +/* + * convenience typedefs + */ + +namespace ext +{ + namespace w + { + const WCHAR* const endl = L"\n"; + + typedef std::basic_string string; + typedef std::basic_ofstream ofstream; + typedef std::basic_ostream ostream; + typedef ext::basic_strfunc strfunc; + typedef ext::basic_format format; + typedef ext::basic_kformat kformat; + } + + namespace a + { + const char* const endl = "\n"; + + typedef std::basic_string string; + typedef std::basic_ofstream ofstream; + typedef std::basic_ostream ostream; + typedef ext::basic_strfunc strfunc; + typedef ext::basic_format format; + typedef ext::basic_kformat kformat; + } + + // choose the right T-style namespace for this compilation + namespace t = w; + + // import T-style classes for easier access + using namespace t; +} + +#endif // HISTORYSTATS_GUARD__GLOABLS_H -- cgit v1.2.3