From 4a966be3c32e745b2567e51c27766942f798f77d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 26 Jul 2015 12:33:08 +0000 Subject: common projects git-svn-id: http://svn.miranda-ng.org/main/trunk@14724 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SimpleAR/src/Common.h | 32 -------------------------------- plugins/SimpleAR/src/Main.cpp | 2 +- plugins/SimpleAR/src/Options.cpp | 2 +- plugins/SimpleAR/src/stdafx.cpp | 18 ------------------ plugins/SimpleAR/src/stdafx.cxx | 18 ++++++++++++++++++ plugins/SimpleAR/src/stdafx.h | 30 ++++++++++++++++++++++++++++++ 6 files changed, 50 insertions(+), 52 deletions(-) delete mode 100644 plugins/SimpleAR/src/Common.h delete mode 100644 plugins/SimpleAR/src/stdafx.cpp create mode 100644 plugins/SimpleAR/src/stdafx.cxx create mode 100644 plugins/SimpleAR/src/stdafx.h (limited to 'plugins/SimpleAR/src') diff --git a/plugins/SimpleAR/src/Common.h b/plugins/SimpleAR/src/Common.h deleted file mode 100644 index 3e92e6867d..0000000000 --- a/plugins/SimpleAR/src/Common.h +++ /dev/null @@ -1,32 +0,0 @@ -#define _CRT_SECURE_NO_WARNINGS - -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -#include - -#include "Resource.h" -#include "Version.h" - -#define protocolname "SimpleAutoReplier" //no spaces here :) - -#define KEY_ENABLED "Enabled" -#define KEY_HEADING "Heading" -#define KEY_REPEATINTERVAL "RepeatInterval" - -//General -extern HINSTANCE hinstance; -extern INT interval; -extern TCHAR *ptszDefaultMsg[6]; -extern HGENMENU hEnableMenu; -extern IconItemT iconList[]; - -extern INT OptInit(WPARAM wParam, LPARAM lParam); diff --git a/plugins/SimpleAR/src/Main.cpp b/plugins/SimpleAR/src/Main.cpp index 196fc1b722..569eff1d9f 100644 --- a/plugins/SimpleAR/src/Main.cpp +++ b/plugins/SimpleAR/src/Main.cpp @@ -14,7 +14,7 @@ Miranda ICQ: the free icq client for MS Windows Copyright (C) 2000-2 Richard Hughes, Roland Rabien & Tristan Van de Vreede */ -#include "Common.h" +#include "stdafx.h" CLIST_INTERFACE *pcli; HINSTANCE hinstance; diff --git a/plugins/SimpleAR/src/Options.cpp b/plugins/SimpleAR/src/Options.cpp index 81e896d3d9..23c41e10ca 100644 --- a/plugins/SimpleAR/src/Options.cpp +++ b/plugins/SimpleAR/src/Options.cpp @@ -1,4 +1,4 @@ -#include "Common.h" +#include "stdafx.h" TCHAR* ptszMessage[6]={0}; INT lastIndex=-1; diff --git a/plugins/SimpleAR/src/stdafx.cpp b/plugins/SimpleAR/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/SimpleAR/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 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 diff --git a/plugins/SimpleAR/src/stdafx.cxx b/plugins/SimpleAR/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/SimpleAR/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 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 "stdafx.h" \ No newline at end of file diff --git a/plugins/SimpleAR/src/stdafx.h b/plugins/SimpleAR/src/stdafx.h new file mode 100644 index 0000000000..99e944ebe6 --- /dev/null +++ b/plugins/SimpleAR/src/stdafx.h @@ -0,0 +1,30 @@ +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "Resource.h" +#include "Version.h" + +#define protocolname "SimpleAutoReplier" //no spaces here :) + +#define KEY_ENABLED "Enabled" +#define KEY_HEADING "Heading" +#define KEY_REPEATINTERVAL "RepeatInterval" + +//General +extern HINSTANCE hinstance; +extern INT interval; +extern TCHAR *ptszDefaultMsg[6]; +extern HGENMENU hEnableMenu; +extern IconItemT iconList[]; + +extern INT OptInit(WPARAM wParam, LPARAM lParam); -- cgit v1.2.3