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/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 +++++++++++++++ 5 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 plugins/AutoRun/src/autorun.h create mode 100644 plugins/AutoRun/src/stdafx.h (limited to 'plugins/AutoRun/src') 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