From 9cc6c4eb999274cf85330b182c4c56bc6149b894 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 9 Mar 2013 19:31:16 +0000 Subject: added precompiled header git-svn-id: http://svn.miranda-ng.org/main/trunk@3947 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StartPosition/StartPosition_10.vcxproj | 19 +++++++++++++++---- .../StartPosition/StartPosition_10.vcxproj.filters | 3 +++ plugins/StartPosition/StartPosition_11.vcxproj | 11 +++++++++++ .../StartPosition/StartPosition_11.vcxproj.filters | 3 +++ plugins/StartPosition/res/resource.rc | 4 ++-- plugins/StartPosition/src/Common.h | 1 - plugins/StartPosition/src/Version.h | 8 +------- plugins/StartPosition/src/main.cpp | 2 +- plugins/StartPosition/src/stdafx.cpp | 18 ++++++++++++++++++ 9 files changed, 54 insertions(+), 15 deletions(-) create mode 100644 plugins/StartPosition/src/stdafx.cpp (limited to 'plugins/StartPosition') diff --git a/plugins/StartPosition/StartPosition_10.vcxproj b/plugins/StartPosition/StartPosition_10.vcxproj index 42819b41a3..403650d473 100644 --- a/plugins/StartPosition/StartPosition_10.vcxproj +++ b/plugins/StartPosition/StartPosition_10.vcxproj @@ -78,6 +78,8 @@ WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) ..\..\include;%(AdditionalIncludeDirectories) Size + Use + Common.h NDEBUG;%(PreprocessorDefinitions) @@ -92,7 +94,7 @@ true false /PDBALTPATH:%_PDB% %(AdditionalOptions) - $(ProfileDir)..\..\bin11\lib + $(ProfileDir)..\..\bin10\lib @@ -104,6 +106,8 @@ WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) ..\..\include;%(AdditionalIncludeDirectories) Size + Use + Common.h NDEBUG;%(PreprocessorDefinitions) @@ -118,7 +122,7 @@ true false /PDBALTPATH:%_PDB% %(AdditionalOptions) - $(ProfileDir)..\..\bin11\lib + $(ProfileDir)..\..\bin10\lib @@ -132,6 +136,8 @@ WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks ..\..\include;%(AdditionalIncludeDirectories) + Use + Common.h _DEBUG;%(PreprocessorDefinitions) @@ -142,7 +148,7 @@ true Windows $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin11\lib + $(ProfileDir)..\..\bin10\lib false @@ -156,6 +162,8 @@ WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks ..\..\include;%(AdditionalIncludeDirectories) + Use + Common.h _DEBUG;%(PreprocessorDefinitions) @@ -166,7 +174,7 @@ true Windows $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin11\lib + $(ProfileDir)..\..\bin10\lib false @@ -176,6 +184,9 @@ + + Create + diff --git a/plugins/StartPosition/StartPosition_10.vcxproj.filters b/plugins/StartPosition/StartPosition_10.vcxproj.filters index 6e5aa9f3d0..ee07b32ee3 100644 --- a/plugins/StartPosition/StartPosition_10.vcxproj.filters +++ b/plugins/StartPosition/StartPosition_10.vcxproj.filters @@ -26,6 +26,9 @@ Source Files + + Source Files + diff --git a/plugins/StartPosition/StartPosition_11.vcxproj b/plugins/StartPosition/StartPosition_11.vcxproj index 803bc6b3de..c02379ac02 100644 --- a/plugins/StartPosition/StartPosition_11.vcxproj +++ b/plugins/StartPosition/StartPosition_11.vcxproj @@ -82,6 +82,8 @@ WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) ..\..\include;%(AdditionalIncludeDirectories) Size + Use + Common.h NDEBUG;%(PreprocessorDefinitions) @@ -108,6 +110,8 @@ WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) ..\..\include;%(AdditionalIncludeDirectories) Size + Use + Common.h NDEBUG;%(PreprocessorDefinitions) @@ -136,6 +140,8 @@ WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks ..\..\include;%(AdditionalIncludeDirectories) + Use + Common.h _DEBUG;%(PreprocessorDefinitions) @@ -160,6 +166,8 @@ WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks ..\..\include;%(AdditionalIncludeDirectories) + Use + Common.h _DEBUG;%(PreprocessorDefinitions) @@ -180,6 +188,9 @@ + + Create + diff --git a/plugins/StartPosition/StartPosition_11.vcxproj.filters b/plugins/StartPosition/StartPosition_11.vcxproj.filters index 6e5aa9f3d0..ee07b32ee3 100644 --- a/plugins/StartPosition/StartPosition_11.vcxproj.filters +++ b/plugins/StartPosition/StartPosition_11.vcxproj.filters @@ -26,6 +26,9 @@ Source Files + + Source Files + diff --git a/plugins/StartPosition/res/resource.rc b/plugins/StartPosition/res/resource.rc index 6f01860a9a..cca09dcae0 100644 --- a/plugins/StartPosition/res/resource.rc +++ b/plugins/StartPosition/res/resource.rc @@ -13,7 +13,7 @@ #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// -// NEUTRAL resources +// Neutral resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU) LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL @@ -89,7 +89,7 @@ BEGIN END #endif // APSTUDIO_INVOKED -#endif // NEUTRAL resources +#endif // Neutral resources ///////////////////////////////////////////////////////////////////////////// diff --git a/plugins/StartPosition/src/Common.h b/plugins/StartPosition/src/Common.h index 5acc8e8b09..eadb6ee1e2 100644 --- a/plugins/StartPosition/src/Common.h +++ b/plugins/StartPosition/src/Common.h @@ -22,7 +22,6 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #include -#include #include #include diff --git a/plugins/StartPosition/src/Version.h b/plugins/StartPosition/src/Version.h index 60969e74e7..d29ab57826 100644 --- a/plugins/StartPosition/src/Version.h +++ b/plugins/StartPosition/src/Version.h @@ -4,14 +4,8 @@ #define __BUILD_NUM 3 #define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM -#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM -#define __STRINGIFY_IMPL(x) #x -#define __STRINGIFY(x) __STRINGIFY_IMPL(x) -#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS) - -#define __PLUGIN_NAME "Start Position" -#define __INTERNAL_NAME "StartPosition" +#define __PLUGIN_NAME "Start position" #define __FILENAME "StartPosition.dll" #define __DESCRIPTION "Plugin supports starting position of Contact List relative to the the taskbar and screen side." #define __AUTHOR "Felipe Brahm - souFrag" diff --git a/plugins/StartPosition/src/main.cpp b/plugins/StartPosition/src/main.cpp index 7ead14ad62..ef670d99ea 100644 --- a/plugins/StartPosition/src/main.cpp +++ b/plugins/StartPosition/src/main.cpp @@ -36,7 +36,7 @@ PLUGININFOEX pluginInfo = { __COPYRIGHT, __AUTHORWEB, UNICODE_AWARE, - // {211F6277-6F9B-4b77-A939-84D04B26B38C} + // {211F6277-6F9B-4B77-A939-84D04B26B38C} {0x211f6277, 0x6f9b, 0x4b77, {0xa9, 0x39, 0x84, 0xd0, 0x4b, 0x26, 0xb3, 0x8c}} }; diff --git a/plugins/StartPosition/src/stdafx.cpp b/plugins/StartPosition/src/stdafx.cpp new file mode 100644 index 0000000000..1976d867da --- /dev/null +++ b/plugins/StartPosition/src/stdafx.cpp @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-13 Miranda NG Project (http://miranda-ng.org) + +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 version 2 +of the License. + +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, see . +*/ + +#include "common.h" \ No newline at end of file -- cgit v1.2.3