From 26d02fb74dc188d98e327f87f32043c497e1d1d0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 16 Apr 2013 19:08:54 +0000 Subject: standardization? good... git-svn-id: http://svn.miranda-ng.org/main/trunk@4458 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AutoRun/autorun_10.vcxproj | 10 +++++----- plugins/AutoRun/autorun_10.vcxproj.filters | 2 +- plugins/AutoRun/autorun_11.vcxproj | 10 +++++----- plugins/AutoRun/autorun_11.vcxproj.filters | 2 +- plugins/AutoRun/src/Version.h | 24 ++++++++++++------------ plugins/AutoRun/src/autorun.h | 15 --------------- plugins/AutoRun/src/main.cpp | 2 +- plugins/AutoRun/src/stdafx.cpp | 2 +- plugins/AutoRun/src/stdafx.h | 15 +++++++++++++++ 9 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 plugins/AutoRun/src/autorun.h create mode 100644 plugins/AutoRun/src/stdafx.h diff --git a/plugins/AutoRun/autorun_10.vcxproj b/plugins/AutoRun/autorun_10.vcxproj index b70d2f601f..678ee42bb5 100644 --- a/plugins/AutoRun/autorun_10.vcxproj +++ b/plugins/AutoRun/autorun_10.vcxproj @@ -81,7 +81,7 @@ false Size false - autorun.h + stdafx.h Use @@ -113,7 +113,7 @@ WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks false - autorun.h + stdafx.h Use @@ -141,7 +141,7 @@ OnlyExplicitInline Size false - autorun.h + stdafx.h Use @@ -169,7 +169,7 @@ WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks false - autorun.h + stdafx.h Use @@ -187,7 +187,7 @@ - + diff --git a/plugins/AutoRun/autorun_10.vcxproj.filters b/plugins/AutoRun/autorun_10.vcxproj.filters index 8d0561f6f0..6bad33a8fc 100644 --- a/plugins/AutoRun/autorun_10.vcxproj.filters +++ b/plugins/AutoRun/autorun_10.vcxproj.filters @@ -15,7 +15,7 @@ - + Header Files diff --git a/plugins/AutoRun/autorun_11.vcxproj b/plugins/AutoRun/autorun_11.vcxproj index 99309e9073..9e724a4d70 100644 --- a/plugins/AutoRun/autorun_11.vcxproj +++ b/plugins/AutoRun/autorun_11.vcxproj @@ -85,7 +85,7 @@ false Size false - autorun.h + stdafx.h Use @@ -117,7 +117,7 @@ WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks false - autorun.h + stdafx.h Use @@ -146,7 +146,7 @@ OnlyExplicitInline Size false - autorun.h + stdafx.h Use @@ -174,7 +174,7 @@ WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks false - autorun.h + stdafx.h Use @@ -192,7 +192,7 @@ - + diff --git a/plugins/AutoRun/autorun_11.vcxproj.filters b/plugins/AutoRun/autorun_11.vcxproj.filters index 8d0561f6f0..6bad33a8fc 100644 --- a/plugins/AutoRun/autorun_11.vcxproj.filters +++ b/plugins/AutoRun/autorun_11.vcxproj.filters @@ -15,7 +15,7 @@ - + Header Files diff --git a/plugins/AutoRun/src/Version.h b/plugins/AutoRun/src/Version.h index 2a088156b7..5dfcb2728d 100644 --- a/plugins/AutoRun/src/Version.h +++ b/plugins/AutoRun/src/Version.h @@ -1,14 +1,14 @@ -#define __MAJOR_VERSION 0 -#define __MINOR_VERSION 1 -#define __RELEASE_NUM 0 -#define __BUILD_NUM 1 +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 1 +#define __RELEASE_NUM 0 +#define __BUILD_NUM 1 -#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM -#define __PLUGIN_NAME "AutoRun" -#define __FILENAME "AutoRun.dll" -#define __DESCRIPTION "This plugin is a simple way to enable/disable to launch Miranda NG with system startup." -#define __AUTHOR "Sergey V. Gershovich a.k.a. Jazzy$ (fixed by Wolfram3D)" -#define __AUTHOREMAIL "" -#define __AUTHORWEB "http://miranda-ng.org/" -#define __COPYRIGHT "© 2002-2007 Sergey V. Gershovich a.k.a. Jazzy$" +#define __PLUGIN_NAME "AutoRun" +#define __FILENAME "AutoRun.dll" +#define __DESCRIPTION "This plugin is a simple way to enable/disable to launch Miranda NG with system startup." +#define __AUTHOR "Sergey V. Gershovich a.k.a. Jazzy$ (fixed by Wolfram3D)" +#define __AUTHOREMAIL "" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "© 2002-2007 Sergey V. Gershovich a.k.a. Jazzy$" diff --git a/plugins/AutoRun/src/autorun.h b/plugins/AutoRun/src/autorun.h deleted file mode 100644 index a1ae3abd01..0000000000 --- a/plugins/AutoRun/src/autorun.h +++ /dev/null @@ -1,15 +0,0 @@ -#define _CRT_SECURE_NO_WARNINGS - -#include - -#include -#include -#include -#include -#include - -#include "resource.h" -#include "Version.h" - -#define SUB_KEY _T("Software\\Microsoft\\Windows\\CurrentVersion\\Run") -#define ModuleName LPGEN("Autorun") diff --git a/plugins/AutoRun/src/main.cpp b/plugins/AutoRun/src/main.cpp index 3053853734..19b0db0f62 100644 --- a/plugins/AutoRun/src/main.cpp +++ b/plugins/AutoRun/src/main.cpp @@ -1,4 +1,4 @@ -#include "autorun.h" +#include "stdafx.h" HINSTANCE hInst; int hLangpack; diff --git a/plugins/AutoRun/src/stdafx.cpp b/plugins/AutoRun/src/stdafx.cpp index d1715833dc..1ddfafbbbd 100644 --- a/plugins/AutoRun/src/stdafx.cpp +++ b/plugins/AutoRun/src/stdafx.cpp @@ -15,4 +15,4 @@ 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 +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/AutoRun/src/stdafx.h b/plugins/AutoRun/src/stdafx.h new file mode 100644 index 0000000000..a1ae3abd01 --- /dev/null +++ b/plugins/AutoRun/src/stdafx.h @@ -0,0 +1,15 @@ +#define _CRT_SECURE_NO_WARNINGS + +#include + +#include +#include +#include +#include +#include + +#include "resource.h" +#include "Version.h" + +#define SUB_KEY _T("Software\\Microsoft\\Windows\\CurrentVersion\\Run") +#define ModuleName LPGEN("Autorun") -- cgit v1.2.3