From 98eb3655b536fb45f97b4e6112010cf9d95fb7ac Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 26 Jul 2015 07:48:38 +0000 Subject: NoHistory: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14710 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NoHistory/NoHistory.vcxproj | 28 ++++ plugins/NoHistory/NoHistory.vcxproj.filters | 4 + plugins/NoHistory/NoHistory_10.vcxproj | 213 ------------------------ plugins/NoHistory/NoHistory_10.vcxproj.filters | 56 ------- plugins/NoHistory/NoHistory_12.vcxproj | 218 ------------------------- plugins/NoHistory/NoHistory_12.vcxproj.filters | 56 ------- plugins/NoHistory/NoHistory_14.vcxproj | 218 ------------------------- plugins/NoHistory/NoHistory_14.vcxproj.filters | 56 ------- plugins/NoHistory/src/common.h | 33 ---- plugins/NoHistory/src/dllmain.cpp | 2 +- plugins/NoHistory/src/icons.cpp | 2 +- plugins/NoHistory/src/options.cpp | 2 +- plugins/NoHistory/src/stdafx.cpp | 18 -- plugins/NoHistory/src/stdafx.cxx | 18 ++ plugins/NoHistory/src/stdafx.h | 33 ++++ 15 files changed, 86 insertions(+), 871 deletions(-) create mode 100644 plugins/NoHistory/NoHistory.vcxproj create mode 100644 plugins/NoHistory/NoHistory.vcxproj.filters delete mode 100644 plugins/NoHistory/NoHistory_10.vcxproj delete mode 100644 plugins/NoHistory/NoHistory_10.vcxproj.filters delete mode 100644 plugins/NoHistory/NoHistory_12.vcxproj delete mode 100644 plugins/NoHistory/NoHistory_12.vcxproj.filters delete mode 100644 plugins/NoHistory/NoHistory_14.vcxproj delete mode 100644 plugins/NoHistory/NoHistory_14.vcxproj.filters delete mode 100644 plugins/NoHistory/src/common.h delete mode 100644 plugins/NoHistory/src/stdafx.cpp create mode 100644 plugins/NoHistory/src/stdafx.cxx create mode 100644 plugins/NoHistory/src/stdafx.h (limited to 'plugins/NoHistory') diff --git a/plugins/NoHistory/NoHistory.vcxproj b/plugins/NoHistory/NoHistory.vcxproj new file mode 100644 index 0000000000..9267c3a1de --- /dev/null +++ b/plugins/NoHistory/NoHistory.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + NoHistory + {ABF05E2C-C335-4BD1-8C3E-4C63285362CF} + + + + + \ No newline at end of file diff --git a/plugins/NoHistory/NoHistory.vcxproj.filters b/plugins/NoHistory/NoHistory.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/NoHistory/NoHistory.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/NoHistory/NoHistory_10.vcxproj b/plugins/NoHistory/NoHistory_10.vcxproj deleted file mode 100644 index 61848d1f18..0000000000 --- a/plugins/NoHistory/NoHistory_10.vcxproj +++ /dev/null @@ -1,213 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - NoHistory - {ABF05E2C-C335-4BD1-8C3E-4C63285362CF} - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - false - - - Comctl32.lib;%(AdditionalDependencies) - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - false - true - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - - - Comctl32.lib;%(AdditionalDependencies) - Windows - true - true - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - true - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - false - - - Comctl32.lib;%(AdditionalDependencies) - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - false - true - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - - - Comctl32.lib;%(AdditionalDependencies) - Windows - true - true - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - true - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Create - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/NoHistory/NoHistory_10.vcxproj.filters b/plugins/NoHistory/NoHistory_10.vcxproj.filters deleted file mode 100644 index 950287abcb..0000000000 --- a/plugins/NoHistory/NoHistory_10.vcxproj.filters +++ /dev/null @@ -1,56 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;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;tiff;tif;png;wav - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/NoHistory/NoHistory_12.vcxproj b/plugins/NoHistory/NoHistory_12.vcxproj deleted file mode 100644 index cd7ff3795e..0000000000 --- a/plugins/NoHistory/NoHistory_12.vcxproj +++ /dev/null @@ -1,218 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - NoHistory - {ABF05E2C-C335-4BD1-8C3E-4C63285362CF} - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - false - - - Comctl32.lib;%(AdditionalDependencies) - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - true - false - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - - - Comctl32.lib;%(AdditionalDependencies) - Windows - true - true - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - true - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - false - - - Comctl32.lib;%(AdditionalDependencies) - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - true - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - - - Comctl32.lib;%(AdditionalDependencies) - Windows - true - true - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - true - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Create - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/NoHistory/NoHistory_12.vcxproj.filters b/plugins/NoHistory/NoHistory_12.vcxproj.filters deleted file mode 100644 index 950287abcb..0000000000 --- a/plugins/NoHistory/NoHistory_12.vcxproj.filters +++ /dev/null @@ -1,56 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;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;tiff;tif;png;wav - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/NoHistory/NoHistory_14.vcxproj b/plugins/NoHistory/NoHistory_14.vcxproj deleted file mode 100644 index f7fa4aa6a8..0000000000 --- a/plugins/NoHistory/NoHistory_14.vcxproj +++ /dev/null @@ -1,218 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - NoHistory - {ABF05E2C-C335-4BD1-8C3E-4C63285362CF} - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - false - - - Comctl32.lib;%(AdditionalDependencies) - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - true - false - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - - - Comctl32.lib;%(AdditionalDependencies) - Windows - true - true - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - true - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - false - - - Comctl32.lib;%(AdditionalDependencies) - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - true - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - - - Comctl32.lib;%(AdditionalDependencies) - Windows - true - true - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - true - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Create - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/NoHistory/NoHistory_14.vcxproj.filters b/plugins/NoHistory/NoHistory_14.vcxproj.filters deleted file mode 100644 index 950287abcb..0000000000 --- a/plugins/NoHistory/NoHistory_14.vcxproj.filters +++ /dev/null @@ -1,56 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;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;tiff;tif;png;wav - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/NoHistory/src/common.h b/plugins/NoHistory/src/common.h deleted file mode 100644 index 5f2476a8aa..0000000000 --- a/plugins/NoHistory/src/common.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef _COMMON_INC -#define _COMMON_INC - -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "resource.h" -#include "icons.h" -#include "options.h" -#include "Version.h" - -#define MODULE "NoHistory" -#define DBSETTING_REMOVE "RemoveHistory" - -extern HINSTANCE hInst; - -#endif - -void SrmmMenu_Load(); - - diff --git a/plugins/NoHistory/src/dllmain.cpp b/plugins/NoHistory/src/dllmain.cpp index 02040b72c8..7b08d50e2e 100644 --- a/plugins/NoHistory/src/dllmain.cpp +++ b/plugins/NoHistory/src/dllmain.cpp @@ -1,4 +1,4 @@ -#include "common.h" +#include "stdafx.h" HINSTANCE hInst; int hLangpack = 0; diff --git a/plugins/NoHistory/src/icons.cpp b/plugins/NoHistory/src/icons.cpp index e0835972cf..ab1f3b9f4c 100644 --- a/plugins/NoHistory/src/icons.cpp +++ b/plugins/NoHistory/src/icons.cpp @@ -1,4 +1,4 @@ -#include "common.h" +#include "stdafx.h" HICON hIconRemove, hIconKeep, hIconClear; diff --git a/plugins/NoHistory/src/options.cpp b/plugins/NoHistory/src/options.cpp index 8a31611b15..4be4ad59d6 100644 --- a/plugins/NoHistory/src/options.cpp +++ b/plugins/NoHistory/src/options.cpp @@ -1,4 +1,4 @@ -#include "common.h" +#include "stdafx.h" static void SetListGroupIcons(HWND hwndList,HANDLE hFirstItem,HANDLE hParentItem,int *groupChildCount) { diff --git a/plugins/NoHistory/src/stdafx.cpp b/plugins/NoHistory/src/stdafx.cpp deleted file mode 100644 index 41c4ae06bf..0000000000 --- a/plugins/NoHistory/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/NoHistory/src/stdafx.cxx b/plugins/NoHistory/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/NoHistory/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/NoHistory/src/stdafx.h b/plugins/NoHistory/src/stdafx.h new file mode 100644 index 0000000000..5f2476a8aa --- /dev/null +++ b/plugins/NoHistory/src/stdafx.h @@ -0,0 +1,33 @@ +#ifndef _COMMON_INC +#define _COMMON_INC + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "resource.h" +#include "icons.h" +#include "options.h" +#include "Version.h" + +#define MODULE "NoHistory" +#define DBSETTING_REMOVE "RemoveHistory" + +extern HINSTANCE hInst; + +#endif + +void SrmmMenu_Load(); + + -- cgit v1.2.3