From b4fc63a5c20326fd4ba9a1b078e68af56c17aef2 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 23 Feb 2013 09:43:42 +0000 Subject: added precompiled header git-svn-id: http://svn.miranda-ng.org/main/trunk@3702 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/BossKeyPlus/BossKey_11.vcxproj | 19 +++++++++++++++---- plugins/BossKeyPlus/BossKey_11.vcxproj.filters | 3 +++ plugins/BossKeyPlus/src/BossKey.cpp | 1 - plugins/BossKeyPlus/src/BossKey.h | 15 ++++++--------- plugins/BossKeyPlus/src/stdafx.cpp | 18 ++++++++++++++++++ 5 files changed, 42 insertions(+), 14 deletions(-) create mode 100644 plugins/BossKeyPlus/src/stdafx.cpp (limited to 'plugins/BossKeyPlus') diff --git a/plugins/BossKeyPlus/BossKey_11.vcxproj b/plugins/BossKeyPlus/BossKey_11.vcxproj index f8235e64e4..68047f4715 100644 --- a/plugins/BossKeyPlus/BossKey_11.vcxproj +++ b/plugins/BossKeyPlus/BossKey_11.vcxproj @@ -78,11 +78,13 @@ Full Size ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;BossKey_EXPORTS;%(PreprocessorDefinitions) + WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) true true Level3 false + Use + BossKey.h NDEBUG;%(PreprocessorDefinitions) @@ -104,12 +106,14 @@ Disabled ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;BossKey_EXPORTS;%(PreprocessorDefinitions) + WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Level3 EditAndContinue false + Use + BossKey.h _DEBUG;%(PreprocessorDefinitions) @@ -129,11 +133,13 @@ Full Size ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;NDEBUG;_WINDOWS;_USRDLL;BossKey_EXPORTS;%(PreprocessorDefinitions) + WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) true true Level3 false + Use + BossKey.h NDEBUG;%(PreprocessorDefinitions) @@ -155,11 +161,13 @@ Disabled ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;_DEBUG;_WINDOWS;_USRDLL;BossKey_EXPORTS;%(PreprocessorDefinitions) + WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Level3 false + Use + BossKey.h _DEBUG;%(PreprocessorDefinitions) @@ -179,6 +187,9 @@ + + Create + diff --git a/plugins/BossKeyPlus/BossKey_11.vcxproj.filters b/plugins/BossKeyPlus/BossKey_11.vcxproj.filters index 83784f9bbf..0ed628eb54 100644 --- a/plugins/BossKeyPlus/BossKey_11.vcxproj.filters +++ b/plugins/BossKeyPlus/BossKey_11.vcxproj.filters @@ -27,6 +27,9 @@ Source Files + + Source Files + diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp index b80237ee92..66715892ca 100644 --- a/plugins/BossKeyPlus/src/BossKey.cpp +++ b/plugins/BossKeyPlus/src/BossKey.cpp @@ -18,7 +18,6 @@ */ #include "BossKey.h" -#include "m_msg_buttonsbar.h" // multiple instances support: // when hotkey is hit, handler notifies all listen windows diff --git a/plugins/BossKeyPlus/src/BossKey.h b/plugins/BossKeyPlus/src/BossKey.h index b423537eaa..e0f8cb61e1 100644 --- a/plugins/BossKeyPlus/src/BossKey.h +++ b/plugins/BossKeyPlus/src/BossKey.h @@ -25,23 +25,15 @@ #define WINVER 0x0700 #define _WIN32_WINNT 0x0700 #define _WIN32_IE 0x0601 -#define MIRANDA_VER 0x0A00 #define BOSSKEY_LISTEN_INFO _T("MY6BossKey_Param") #include #include #include -#include -#include -#include -#include "resource.h" -#include "version.h" + #include -#include -#include #include -#include #include #include #include @@ -51,9 +43,14 @@ #include #include #include + #include #include #include +#include + +#include "resource.h" +#include "version.h" #define MOD_NAME "BossKey" #define KEY_DOWN(key) ((GetAsyncKeyState(key) & 0x8000) ? (true) : (false)) diff --git a/plugins/BossKeyPlus/src/stdafx.cpp b/plugins/BossKeyPlus/src/stdafx.cpp new file mode 100644 index 0000000000..9e866d16db --- /dev/null +++ b/plugins/BossKeyPlus/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 "BossKey.h" \ No newline at end of file -- cgit v1.2.3