Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Oliver Schneider ext:(%22) <oliver@assarbad.net>2011-02-20 03:44:40 +0300
committer"Oliver Schneider ext:(%22) <oliver@assarbad.net>2011-02-20 03:44:40 +0300
commitd375998cd79dfd96add910735558bcd28ad4e3ab (patch)
tree77cea964b63f95acc9fba04a2a9bad37de953d34 /sandbox
parenta9968e52f0ee9e680e7688441966280f07f5e3e5 (diff)
- Isolated the configuration storage classes
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/luaconf/lua_conf.vcproj16
-rw-r--r--sandbox/luaconf/stdafx.h26
2 files changed, 26 insertions, 16 deletions
diff --git a/sandbox/luaconf/lua_conf.vcproj b/sandbox/luaconf/lua_conf.vcproj
index 09602fc..2d72136 100644
--- a/sandbox/luaconf/lua_conf.vcproj
+++ b/sandbox/luaconf/lua_conf.vcproj
@@ -46,8 +46,8 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="$(ProjectDir)\..;$(ProjectDir)\..\..\lua\src"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src"
+ PreprocessorDefinitions="__NOT_WDS;WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
@@ -127,8 +127,8 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="$(ProjectDir)\..;$(ProjectDir)\..\..\lua\src"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src"
+ PreprocessorDefinitions="__NOT_WDS;WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
@@ -207,8 +207,8 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(ProjectDir)\..;$(ProjectDir)\..\..\lua\src"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src"
+ PreprocessorDefinitions="__NOT_WDS;WIN32;NDEBUG;_CONSOLE"
RuntimeLibrary="0"
UsePrecompiledHeader="2"
WarningLevel="3"
@@ -288,8 +288,8 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(ProjectDir)\..;$(ProjectDir)\..\..\lua\src"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src"
+ PreprocessorDefinitions="__NOT_WDS;WIN32;NDEBUG;_CONSOLE"
RuntimeLibrary="0"
UsePrecompiledHeader="2"
WarningLevel="3"
diff --git a/sandbox/luaconf/stdafx.h b/sandbox/luaconf/stdafx.h
index 085936c..0df34b1 100644
--- a/sandbox/luaconf/stdafx.h
+++ b/sandbox/luaconf/stdafx.h
@@ -23,13 +23,23 @@
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
#endif
+#ifndef VC_EXTRALEAN
+#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
+#endif
+
+#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
+
+// turns off MFC's hiding of some common and often safely ignored warning messages
+#define _AFX_ALL_WARNINGS
+
+#include <afxwin.h> // MFC Core
+#include <afxext.h> // MFC Extensions
+
+#include <afxdtctl.h> // MFC IE 4
+#include <afxcmn.h> // MFC Common Controls
+#include <afxtempl.h> // MFC Container classes
+#include <afxmt.h> // MFC Multi-threading
+#include <afxinet.h> // For CInternet* classes
+
#include <stdio.h>
#include <tchar.h>
-#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
-
-#ifndef VC_EXTRALEAN
-#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
-#endif
-
-#include <atlbase.h>
-#include <atlstr.h>