From 1e2b37b3408c3b732e221aadbf92edc13a77005b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 1 Aug 2015 18:54:33 +0000 Subject: stopspam_mod: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14785 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StopSpamMod/src/eventhooker.cpp | 2 +- plugins/StopSpamMod/src/headers.h | 39 --------------------------------- plugins/StopSpamMod/src/init.cpp | 2 +- plugins/StopSpamMod/src/options.cpp | 2 +- plugins/StopSpamMod/src/stdafx.cpp | 18 --------------- plugins/StopSpamMod/src/stdafx.cxx | 18 +++++++++++++++ plugins/StopSpamMod/src/stdafx.h | 37 +++++++++++++++++++++++++++++++ plugins/StopSpamMod/src/stopspam.cpp | 2 +- plugins/StopSpamMod/src/utilities.cpp | 2 +- 9 files changed, 60 insertions(+), 62 deletions(-) delete mode 100755 plugins/StopSpamMod/src/headers.h delete mode 100644 plugins/StopSpamMod/src/stdafx.cpp create mode 100644 plugins/StopSpamMod/src/stdafx.cxx create mode 100755 plugins/StopSpamMod/src/stdafx.h (limited to 'plugins/StopSpamMod/src') diff --git a/plugins/StopSpamMod/src/eventhooker.cpp b/plugins/StopSpamMod/src/eventhooker.cpp index f127e0c1f0..e93e4169be 100755 --- a/plugins/StopSpamMod/src/eventhooker.cpp +++ b/plugins/StopSpamMod/src/eventhooker.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "headers.h" +#include "stdafx.h" namespace miranda { diff --git a/plugins/StopSpamMod/src/headers.h b/plugins/StopSpamMod/src/headers.h deleted file mode 100755 index 29b48d043d..0000000000 --- a/plugins/StopSpamMod/src/headers.h +++ /dev/null @@ -1,39 +0,0 @@ -#define _CRT_SECURE_NO_WARNINGS - -#include - -using namespace std; -#include -#include - - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#include -#include -#include -#include -#include -#include - -#include "globals.h" -#include "stopspam.h" -#include "eventhooker.h" -#include "version.h" -#include "resource.h" -#include "utilities.h" -#include "utf8.h" - -extern HINSTANCE hInst; -extern HANDLE hStopSpamLogDirH; diff --git a/plugins/StopSpamMod/src/init.cpp b/plugins/StopSpamMod/src/init.cpp index 056f226816..78aeea2420 100755 --- a/plugins/StopSpamMod/src/init.cpp +++ b/plugins/StopSpamMod/src/init.cpp @@ -15,7 +15,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "headers.h" +#include "stdafx.h" BOOL gbDosServiceExist = 0; BOOL gbVarsServiceExist = 0; diff --git a/plugins/StopSpamMod/src/options.cpp b/plugins/StopSpamMod/src/options.cpp index e26d2749a4..5b05c9696b 100755 --- a/plugins/StopSpamMod/src/options.cpp +++ b/plugins/StopSpamMod/src/options.cpp @@ -15,7 +15,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "headers.h" +#include "stdafx.h" int CreateCListGroup(TCHAR* szGroupName); diff --git a/plugins/StopSpamMod/src/stdafx.cpp b/plugins/StopSpamMod/src/stdafx.cpp deleted file mode 100644 index 7e0216078c..0000000000 --- a/plugins/StopSpamMod/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 "headers.h" \ No newline at end of file diff --git a/plugins/StopSpamMod/src/stdafx.cxx b/plugins/StopSpamMod/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/StopSpamMod/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/StopSpamMod/src/stdafx.h b/plugins/StopSpamMod/src/stdafx.h new file mode 100755 index 0000000000..15c247ada0 --- /dev/null +++ b/plugins/StopSpamMod/src/stdafx.h @@ -0,0 +1,37 @@ +#include + +using namespace std; +#include +#include + + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include +#include +#include +#include +#include +#include + +#include "globals.h" +#include "stopspam.h" +#include "eventhooker.h" +#include "version.h" +#include "resource.h" +#include "utilities.h" +#include "include\utf8.h" + +extern HINSTANCE hInst; +extern HANDLE hStopSpamLogDirH; diff --git a/plugins/StopSpamMod/src/stopspam.cpp b/plugins/StopSpamMod/src/stopspam.cpp index 8d18c14759..e193ba91fc 100755 --- a/plugins/StopSpamMod/src/stopspam.cpp +++ b/plugins/StopSpamMod/src/stopspam.cpp @@ -16,7 +16,7 @@ */ -#include "headers.h" +#include "stdafx.h" MIRANDA_HOOK_EVENT(ME_DB_CONTACT_ADDED, w, l) { diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp index 804854bce6..84003bde49 100755 --- a/plugins/StopSpamMod/src/utilities.cpp +++ b/plugins/StopSpamMod/src/utilities.cpp @@ -16,7 +16,7 @@ */ -#include "headers.h" +#include "stdafx.h" tstring DBGetContactSettingStringPAN(MCONTACT hContact, char const * szModule, char const * szSetting, tstring errorValue) { -- cgit v1.2.3