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 +- plugins/StopSpamMod/stopspam_mod.vcxproj | 33 ++++ plugins/StopSpamMod/stopspam_mod.vcxproj.filters | 4 + plugins/StopSpamMod/stopspam_mod_10.vcxproj | 202 -------------------- .../StopSpamMod/stopspam_mod_10.vcxproj.filters | 68 ------- plugins/StopSpamMod/stopspam_mod_12.vcxproj | 205 --------------------- .../StopSpamMod/stopspam_mod_12.vcxproj.filters | 68 ------- plugins/StopSpamMod/stopspam_mod_14.vcxproj | 205 --------------------- .../StopSpamMod/stopspam_mod_14.vcxproj.filters | 68 ------- 17 files changed, 97 insertions(+), 878 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 create mode 100644 plugins/StopSpamMod/stopspam_mod.vcxproj create mode 100644 plugins/StopSpamMod/stopspam_mod.vcxproj.filters delete mode 100644 plugins/StopSpamMod/stopspam_mod_10.vcxproj delete mode 100644 plugins/StopSpamMod/stopspam_mod_10.vcxproj.filters delete mode 100644 plugins/StopSpamMod/stopspam_mod_12.vcxproj delete mode 100644 plugins/StopSpamMod/stopspam_mod_12.vcxproj.filters delete mode 100644 plugins/StopSpamMod/stopspam_mod_14.vcxproj delete mode 100644 plugins/StopSpamMod/stopspam_mod_14.vcxproj.filters (limited to 'plugins/StopSpamMod') 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) { diff --git a/plugins/StopSpamMod/stopspam_mod.vcxproj b/plugins/StopSpamMod/stopspam_mod.vcxproj new file mode 100644 index 0000000000..522c36c339 --- /dev/null +++ b/plugins/StopSpamMod/stopspam_mod.vcxproj @@ -0,0 +1,33 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + StopSpamMod + {0FF6989B-880A-4C3F-B69D-AFF93296044D} + + + + + + + Sync + + + \ No newline at end of file diff --git a/plugins/StopSpamMod/stopspam_mod.vcxproj.filters b/plugins/StopSpamMod/stopspam_mod.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/StopSpamMod/stopspam_mod.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/StopSpamMod/stopspam_mod_10.vcxproj b/plugins/StopSpamMod/stopspam_mod_10.vcxproj deleted file mode 100644 index b62d7c0961..0000000000 --- a/plugins/StopSpamMod/stopspam_mod_10.vcxproj +++ /dev/null @@ -1,202 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - StopSpamMod - {0FF6989B-880A-4C3F-B69D-AFF93296044D} - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - EditAndContinue - headers.h - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib;..\..\..\boost\stage\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - headers.h - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib;..\..\..\boost\stage64\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Use - Level3 - Size - headers.h - - - true - Windows - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib;..\..\..\boost\stage\lib - /PDBALTPATH:%_PDB% - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Use - Level3 - Size - headers.h - - - true - Windows - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib;..\..\..\boost\stage64\lib - /PDBALTPATH:%_PDB% - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - - - - - - - - - - - - Create - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/StopSpamMod/stopspam_mod_10.vcxproj.filters b/plugins/StopSpamMod/stopspam_mod_10.vcxproj.filters deleted file mode 100644 index ad0c220021..0000000000 --- a/plugins/StopSpamMod/stopspam_mod_10.vcxproj.filters +++ /dev/null @@ -1,68 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/StopSpamMod/stopspam_mod_12.vcxproj b/plugins/StopSpamMod/stopspam_mod_12.vcxproj deleted file mode 100644 index f8e25b96ad..0000000000 --- a/plugins/StopSpamMod/stopspam_mod_12.vcxproj +++ /dev/null @@ -1,205 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - StopSpamMod - {0FF6989B-880A-4C3F-B69D-AFF93296044D} - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - EditAndContinue - headers.h - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib;..\..\..\boost\stage\lib - false - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - headers.h - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib;..\..\..\boost\stage64\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Use - Level3 - Size - headers.h - - - true - Windows - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib;..\..\..\boost\stage\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Use - Level3 - Size - headers.h - - - true - Windows - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib;..\..\..\boost\stage64\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - - - - - - - - - - - - Create - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/StopSpamMod/stopspam_mod_12.vcxproj.filters b/plugins/StopSpamMod/stopspam_mod_12.vcxproj.filters deleted file mode 100644 index ad0c220021..0000000000 --- a/plugins/StopSpamMod/stopspam_mod_12.vcxproj.filters +++ /dev/null @@ -1,68 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/StopSpamMod/stopspam_mod_14.vcxproj b/plugins/StopSpamMod/stopspam_mod_14.vcxproj deleted file mode 100644 index 8f6fa80c16..0000000000 --- a/plugins/StopSpamMod/stopspam_mod_14.vcxproj +++ /dev/null @@ -1,205 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - StopSpamMod - {0FF6989B-880A-4C3F-B69D-AFF93296044D} - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - EditAndContinue - headers.h - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib;..\..\..\boost\stage\lib - false - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - headers.h - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib;..\..\..\boost\stage64\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Use - Level3 - Size - headers.h - - - true - Windows - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib;..\..\..\boost\stage\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - src\include;..\..\..\boost;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Use - Level3 - Size - headers.h - - - true - Windows - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib;..\..\..\boost\stage64\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - - - - - - - - - - - - Create - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/StopSpamMod/stopspam_mod_14.vcxproj.filters b/plugins/StopSpamMod/stopspam_mod_14.vcxproj.filters deleted file mode 100644 index ad0c220021..0000000000 --- a/plugins/StopSpamMod/stopspam_mod_14.vcxproj.filters +++ /dev/null @@ -1,68 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file -- cgit v1.2.3