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/QuickReplies/quickreplies.vcxproj | 28 +++ plugins/QuickReplies/quickreplies.vcxproj.filters | 4 + plugins/QuickReplies/quickreplies_10.vcxproj | 205 -------------------- .../QuickReplies/quickreplies_10.vcxproj.filters | 47 ----- plugins/QuickReplies/quickreplies_12.vcxproj | 208 --------------------- .../QuickReplies/quickreplies_12.vcxproj.filters | 47 ----- plugins/QuickReplies/quickreplies_14.vcxproj | 208 --------------------- .../QuickReplies/quickreplies_14.vcxproj.filters | 47 ----- plugins/QuickReplies/src/common.h | 62 ------ plugins/QuickReplies/src/events.cpp | 2 +- plugins/QuickReplies/src/options.cpp | 2 +- plugins/QuickReplies/src/quickreplies.cpp | 2 +- plugins/QuickReplies/src/stdafx.cpp | 18 -- plugins/QuickReplies/src/stdafx.cxx | 18 ++ plugins/QuickReplies/src/stdafx.h | 62 ++++++ 15 files changed, 115 insertions(+), 845 deletions(-) create mode 100644 plugins/QuickReplies/quickreplies.vcxproj create mode 100644 plugins/QuickReplies/quickreplies.vcxproj.filters delete mode 100644 plugins/QuickReplies/quickreplies_10.vcxproj delete mode 100644 plugins/QuickReplies/quickreplies_10.vcxproj.filters delete mode 100644 plugins/QuickReplies/quickreplies_12.vcxproj delete mode 100644 plugins/QuickReplies/quickreplies_12.vcxproj.filters delete mode 100644 plugins/QuickReplies/quickreplies_14.vcxproj delete mode 100644 plugins/QuickReplies/quickreplies_14.vcxproj.filters delete mode 100644 plugins/QuickReplies/src/common.h delete mode 100644 plugins/QuickReplies/src/stdafx.cpp create mode 100644 plugins/QuickReplies/src/stdafx.cxx create mode 100644 plugins/QuickReplies/src/stdafx.h (limited to 'plugins/QuickReplies') diff --git a/plugins/QuickReplies/quickreplies.vcxproj b/plugins/QuickReplies/quickreplies.vcxproj new file mode 100644 index 0000000000..6c81616bc0 --- /dev/null +++ b/plugins/QuickReplies/quickreplies.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + QuickReplies + {27CA5499-B3F2-4FB6-8414-651819B0B96C} + + + + + \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies.vcxproj.filters b/plugins/QuickReplies/quickreplies.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/QuickReplies/quickreplies.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_10.vcxproj b/plugins/QuickReplies/quickreplies_10.vcxproj deleted file mode 100644 index a91b30c319..0000000000 --- a/plugins/QuickReplies/quickreplies_10.vcxproj +++ /dev/null @@ -1,205 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - QuickReplies - {27CA5499-B3F2-4FB6-8414-651819B0B96C} - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.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 - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - EditAndContinue - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - - - - - - - - - - - - - Create - - - - - - \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_10.vcxproj.filters b/plugins/QuickReplies/quickreplies_10.vcxproj.filters deleted file mode 100644 index 9a94be2516..0000000000 --- a/plugins/QuickReplies/quickreplies_10.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {b59c4868-4031-48be-9ce9-7b3effd29e79} - - - {2307a1e4-a748-425a-a1c0-507e67a7c56c} - - - {932f4aef-ade7-474a-b8b5-fb53c8195ca0} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_12.vcxproj b/plugins/QuickReplies/quickreplies_12.vcxproj deleted file mode 100644 index f8cc1a2888..0000000000 --- a/plugins/QuickReplies/quickreplies_12.vcxproj +++ /dev/null @@ -1,208 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - QuickReplies - {27CA5499-B3F2-4FB6-8414-651819B0B96C} - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.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 - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - EditAndContinue - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - false - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - - - - - - - - - - - - - Create - - - - - - \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_12.vcxproj.filters b/plugins/QuickReplies/quickreplies_12.vcxproj.filters deleted file mode 100644 index 9a94be2516..0000000000 --- a/plugins/QuickReplies/quickreplies_12.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {b59c4868-4031-48be-9ce9-7b3effd29e79} - - - {2307a1e4-a748-425a-a1c0-507e67a7c56c} - - - {932f4aef-ade7-474a-b8b5-fb53c8195ca0} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_14.vcxproj b/plugins/QuickReplies/quickreplies_14.vcxproj deleted file mode 100644 index 21f2839f96..0000000000 --- a/plugins/QuickReplies/quickreplies_14.vcxproj +++ /dev/null @@ -1,208 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - QuickReplies - {27CA5499-B3F2-4FB6-8414-651819B0B96C} - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.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 - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - EditAndContinue - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - false - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - - - - - - - - - - - - - Create - - - - - - \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_14.vcxproj.filters b/plugins/QuickReplies/quickreplies_14.vcxproj.filters deleted file mode 100644 index 9a94be2516..0000000000 --- a/plugins/QuickReplies/quickreplies_14.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {b59c4868-4031-48be-9ce9-7b3effd29e79} - - - {2307a1e4-a748-425a-a1c0-507e67a7c56c} - - - {932f4aef-ade7-474a-b8b5-fb53c8195ca0} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - \ No newline at end of file diff --git a/plugins/QuickReplies/src/common.h b/plugins/QuickReplies/src/common.h deleted file mode 100644 index 6ea75ae0c6..0000000000 --- a/plugins/QuickReplies/src/common.h +++ /dev/null @@ -1,62 +0,0 @@ -/* -Copyright (C) 2010 Unsane - -This is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this file; see the file license.txt. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. -*/ - - -#ifndef __QUICK_REPLY_H__ -#define __QUICK_REPLY_H__ - -#include - -#include -#include -#include -#include -#include -#include - -#include -#include - -#include "version.h" -#include "resource.h" - -#define MODULE "QuickReplies" -#define IDC_MESSAGE 1002 -#define IDC_CHATMESSAGE 1009 - -#define MS_QUICKREPLIES_SERVICE MODULE"/Service" - -extern HINSTANCE hInstance; - -extern BYTE iNumber; - -extern HANDLE hOnOptInitialized; -extern HANDLE hOnButtonPressed; -extern HANDLE hQuickRepliesService; -extern HANDLE hOnModulesLoaded; -extern HANDLE hOnPreShutdown; - -INT_PTR QuickRepliesService(WPARAM wParam, LPARAM lParam); - -int OnModulesLoaded(WPARAM wParam, LPARAM lParam); -int OnOptInitialized(WPARAM wParam, LPARAM lParam); -int OnButtonPressed(WPARAM wParam, LPARAM lParam); -int OnPreShutdown(WPARAM wParam, LPARAM lParam); - -#endif //__QUICK_REPLY_H__ \ No newline at end of file diff --git a/plugins/QuickReplies/src/events.cpp b/plugins/QuickReplies/src/events.cpp index 8b45833498..224f8cb621 100644 --- a/plugins/QuickReplies/src/events.cpp +++ b/plugins/QuickReplies/src/events.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" using namespace std; diff --git a/plugins/QuickReplies/src/options.cpp b/plugins/QuickReplies/src/options.cpp index 3b773487fc..9a3d9067cc 100644 --- a/plugins/QuickReplies/src/options.cpp +++ b/plugins/QuickReplies/src/options.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" static LRESULT CALLBACK MessageEditSubclassProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam) { diff --git a/plugins/QuickReplies/src/quickreplies.cpp b/plugins/QuickReplies/src/quickreplies.cpp index 063ef0c8d3..7b77d8b8cb 100644 --- a/plugins/QuickReplies/src/quickreplies.cpp +++ b/plugins/QuickReplies/src/quickreplies.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" HINSTANCE hInstance = NULL; int hLangpack; diff --git a/plugins/QuickReplies/src/stdafx.cpp b/plugins/QuickReplies/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/QuickReplies/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/QuickReplies/src/stdafx.cxx b/plugins/QuickReplies/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/QuickReplies/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/QuickReplies/src/stdafx.h b/plugins/QuickReplies/src/stdafx.h new file mode 100644 index 0000000000..6ea75ae0c6 --- /dev/null +++ b/plugins/QuickReplies/src/stdafx.h @@ -0,0 +1,62 @@ +/* +Copyright (C) 2010 Unsane + +This is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This 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 +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with this file; see the file license.txt. If +not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. +*/ + + +#ifndef __QUICK_REPLY_H__ +#define __QUICK_REPLY_H__ + +#include + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "version.h" +#include "resource.h" + +#define MODULE "QuickReplies" +#define IDC_MESSAGE 1002 +#define IDC_CHATMESSAGE 1009 + +#define MS_QUICKREPLIES_SERVICE MODULE"/Service" + +extern HINSTANCE hInstance; + +extern BYTE iNumber; + +extern HANDLE hOnOptInitialized; +extern HANDLE hOnButtonPressed; +extern HANDLE hQuickRepliesService; +extern HANDLE hOnModulesLoaded; +extern HANDLE hOnPreShutdown; + +INT_PTR QuickRepliesService(WPARAM wParam, LPARAM lParam); + +int OnModulesLoaded(WPARAM wParam, LPARAM lParam); +int OnOptInitialized(WPARAM wParam, LPARAM lParam); +int OnButtonPressed(WPARAM wParam, LPARAM lParam); +int OnPreShutdown(WPARAM wParam, LPARAM lParam); + +#endif //__QUICK_REPLY_H__ \ No newline at end of file -- cgit v1.2.3