From ddf12139a7acb89ae48bf22c4c2a0944922f0ae9 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 Feb 2013 17:55:45 +0000 Subject: added precompiled header git-svn-id: http://svn.miranda-ng.org/main/trunk@3694 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AutoRun/autorun_11.vcxproj | 11 +++++++++++ plugins/AutoRun/autorun_11.vcxproj.filters | 3 +++ plugins/AutoRun/src/autorun.h | 2 -- plugins/AutoRun/src/main.cpp | 1 + plugins/AutoRun/src/stdafx.cpp | 18 ++++++++++++++++++ 5 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 plugins/AutoRun/src/stdafx.cpp (limited to 'plugins/AutoRun') diff --git a/plugins/AutoRun/autorun_11.vcxproj b/plugins/AutoRun/autorun_11.vcxproj index 57f90ab06e..b6c3e37db5 100644 --- a/plugins/AutoRun/autorun_11.vcxproj +++ b/plugins/AutoRun/autorun_11.vcxproj @@ -85,6 +85,8 @@ false Size false + autorun.h + Use NDEBUG;%(PreprocessorDefinitions) @@ -115,6 +117,8 @@ WIN32;_DEBUG;_WINDOWS;_USRDLL;autorun_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks false + autorun.h + Use _DEBUG;%(PreprocessorDefinitions) @@ -141,6 +145,8 @@ OnlyExplicitInline Size false + autorun.h + Use NDEBUG;%(PreprocessorDefinitions) @@ -167,6 +173,8 @@ WIN64;_DEBUG;_WINDOWS;_USRDLL;autorun_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks false + autorun.h + Use _DEBUG;%(PreprocessorDefinitions) @@ -193,6 +201,9 @@ + + Create + diff --git a/plugins/AutoRun/autorun_11.vcxproj.filters b/plugins/AutoRun/autorun_11.vcxproj.filters index 30ebec2d72..8d0561f6f0 100644 --- a/plugins/AutoRun/autorun_11.vcxproj.filters +++ b/plugins/AutoRun/autorun_11.vcxproj.filters @@ -37,5 +37,8 @@ Source Files + + Source Files + \ No newline at end of file diff --git a/plugins/AutoRun/src/autorun.h b/plugins/AutoRun/src/autorun.h index 31fb3c9065..a1ae3abd01 100644 --- a/plugins/AutoRun/src/autorun.h +++ b/plugins/AutoRun/src/autorun.h @@ -13,5 +13,3 @@ #define SUB_KEY _T("Software\\Microsoft\\Windows\\CurrentVersion\\Run") #define ModuleName LPGEN("Autorun") - -HKEY ROOT_KEY = HKEY_CURRENT_USER; diff --git a/plugins/AutoRun/src/main.cpp b/plugins/AutoRun/src/main.cpp index f33a164dd0..3053853734 100644 --- a/plugins/AutoRun/src/main.cpp +++ b/plugins/AutoRun/src/main.cpp @@ -2,6 +2,7 @@ HINSTANCE hInst; int hLangpack; +HKEY ROOT_KEY = HKEY_CURRENT_USER; PLUGININFOEX pluginInfoEx = { sizeof(PLUGININFOEX), diff --git a/plugins/AutoRun/src/stdafx.cpp b/plugins/AutoRun/src/stdafx.cpp new file mode 100644 index 0000000000..d1715833dc --- /dev/null +++ b/plugins/AutoRun/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 "autorun.h" \ No newline at end of file -- cgit v1.2.3