From 59552b87f350684b566a4359de769f12eb6dd56b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 6 Dec 2012 21:38:38 +0000 Subject: rename of 2010 projects without *_10 suffix git-svn-id: http://svn.miranda-ng.org/main/trunk@2675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/testplugin/testplug.cpp | 76 --------- plugins/testplugin/testplug.vcxproj | 218 ------------------------- plugins/testplugin/testplug.vcxproj.filters | 22 --- plugins/testplugin/testplug_10.cpp | 76 +++++++++ plugins/testplugin/testplug_10.vcxproj | 218 +++++++++++++++++++++++++ plugins/testplugin/testplug_10.vcxproj.filters | 22 +++ 6 files changed, 316 insertions(+), 316 deletions(-) delete mode 100644 plugins/testplugin/testplug.cpp delete mode 100644 plugins/testplugin/testplug.vcxproj delete mode 100644 plugins/testplugin/testplug.vcxproj.filters create mode 100644 plugins/testplugin/testplug_10.cpp create mode 100644 plugins/testplugin/testplug_10.vcxproj create mode 100644 plugins/testplugin/testplug_10.vcxproj.filters (limited to 'plugins/testplugin') diff --git a/plugins/testplugin/testplug.cpp b/plugins/testplugin/testplug.cpp deleted file mode 100644 index 2c98789edc..0000000000 --- a/plugins/testplugin/testplug.cpp +++ /dev/null @@ -1,76 +0,0 @@ -/* -Miranda NG plugin template -http://miranda-ng.org/ - -This file is placed in the public domain. Anybody is free to use or -modify it as they wish with no restriction. -There is no warranty. -*/ - -#include -#include - -#include -#include -#include -#include - -HINSTANCE hInst = NULL; -int hLangpack; - -PLUGININFOEX pluginInfo = { - sizeof(PLUGININFOEX), - "Plugin Template", - PLUGIN_MAKE_VERSION(0,0,0,2), - "The long description of your plugin, to go in the plugin options dialog", - "J. Random Hacker", - "noreply@sourceforge.net", - "© 2002 J. Random Hacker", - "http://miranda-ng.org/", - UNICODE_AWARE, //not transient - // Generate your own unique id for your plugin. - // Do not use this UUID! - // Use uuidgen.exe to generate the uuuid - {0x8b86253, 0xec6e, 0x4d09, { 0xb7, 0xa9, 0x64, 0xac, 0xdf, 0x6, 0x27, 0xb8 }} //{08B86253-EC6E-4d09-B7A9-64ACDF0627B8} -}; - -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) -{ - hInst = hinstDLL; - return TRUE; -} - -INT_PTR PluginMenuCommand(WPARAM wParam, LPARAM lParam) -{ - MessageBox(NULL, TranslateT("Just groovy, baby!"), TranslateT("Plugin-o-rama"), MB_OK); - return 0; -} - -extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) -{ - return &pluginInfo; -} - -extern "C" __declspec(dllexport) const MUUID interfaces[] = {MIID_TESTPLUGIN, MIID_LAST}; - -extern "C" __declspec(dllexport) int Load() -{ - mir_getLP(&pluginInfo); - - CLISTMENUITEM mi = {0}; - - CreateServiceFunction("TestPlug/MenuCommand", PluginMenuCommand); - mi.cbSize = sizeof(mi); - mi.position = -0x7FFFFFFF; - mi.flags = CMIF_TCHAR; - mi.hIcon = LoadSkinnedIcon(SKINICON_OTHER_MIRANDA); - mi.ptszName = LPGENT("&Test Plugin..."); - mi.pszService = "TestPlug/MenuCommand"; - Menu_AddMainMenuItem(&mi); - return 0; -} - -extern "C" __declspec(dllexport) int Unload(void) -{ - return 0; -} diff --git a/plugins/testplugin/testplug.vcxproj b/plugins/testplugin/testplug.vcxproj deleted file mode 100644 index 043781f2be..0000000000 --- a/plugins/testplugin/testplug.vcxproj +++ /dev/null @@ -1,218 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - - - - - - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - - - - - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - true - - - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - true - - - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - - - true - NDEBUG;%(PreprocessorDefinitions) - .\Release\testplug.tlb - true - Win32 - - - 0x0809 - NDEBUG;%(PreprocessorDefinitions) - - - - true - Windows - $(IntDir)$(TargetName).lib - $(SolutionDir)\lib - true - true - true - false - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - - - true - NDEBUG;%(PreprocessorDefinitions) - .\Release\testplug.tlb - true - - - 0x0809 - NDEBUG;%(PreprocessorDefinitions) - - - - true - Windows - $(IntDir)$(TargetName).lib - $(SolutionDir)\lib - true - true - true - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - - - true - _DEBUG;%(PreprocessorDefinitions) - .\Debug\testplug.tlb - true - Win32 - - - 0x0809 - _DEBUG;%(PreprocessorDefinitions) - - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(SolutionDir)\lib - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - - - true - _DEBUG;%(PreprocessorDefinitions) - .\Debug\testplug.tlb - true - - - 0x0809 - _DEBUG;%(PreprocessorDefinitions) - - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(SolutionDir)\lib - false - - - - - - \ No newline at end of file diff --git a/plugins/testplugin/testplug.vcxproj.filters b/plugins/testplugin/testplug.vcxproj.filters deleted file mode 100644 index 6f57ac5bd9..0000000000 --- a/plugins/testplugin/testplug.vcxproj.filters +++ /dev/null @@ -1,22 +0,0 @@ - - - - - {88cca963-381d-42ab-a6e5-ee52ef046ae3} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {27fed274-8a4f-4b06-9ac7-fbe7ce655ffb} - h;hpp;hxx;hm;inl - - - {73f1a4d8-ea59-4f1a-ac4d-471cfd59b402} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - \ No newline at end of file diff --git a/plugins/testplugin/testplug_10.cpp b/plugins/testplugin/testplug_10.cpp new file mode 100644 index 0000000000..2c98789edc --- /dev/null +++ b/plugins/testplugin/testplug_10.cpp @@ -0,0 +1,76 @@ +/* +Miranda NG plugin template +http://miranda-ng.org/ + +This file is placed in the public domain. Anybody is free to use or +modify it as they wish with no restriction. +There is no warranty. +*/ + +#include +#include + +#include +#include +#include +#include + +HINSTANCE hInst = NULL; +int hLangpack; + +PLUGININFOEX pluginInfo = { + sizeof(PLUGININFOEX), + "Plugin Template", + PLUGIN_MAKE_VERSION(0,0,0,2), + "The long description of your plugin, to go in the plugin options dialog", + "J. Random Hacker", + "noreply@sourceforge.net", + "© 2002 J. Random Hacker", + "http://miranda-ng.org/", + UNICODE_AWARE, //not transient + // Generate your own unique id for your plugin. + // Do not use this UUID! + // Use uuidgen.exe to generate the uuuid + {0x8b86253, 0xec6e, 0x4d09, { 0xb7, 0xa9, 0x64, 0xac, 0xdf, 0x6, 0x27, 0xb8 }} //{08B86253-EC6E-4d09-B7A9-64ACDF0627B8} +}; + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + hInst = hinstDLL; + return TRUE; +} + +INT_PTR PluginMenuCommand(WPARAM wParam, LPARAM lParam) +{ + MessageBox(NULL, TranslateT("Just groovy, baby!"), TranslateT("Plugin-o-rama"), MB_OK); + return 0; +} + +extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) +{ + return &pluginInfo; +} + +extern "C" __declspec(dllexport) const MUUID interfaces[] = {MIID_TESTPLUGIN, MIID_LAST}; + +extern "C" __declspec(dllexport) int Load() +{ + mir_getLP(&pluginInfo); + + CLISTMENUITEM mi = {0}; + + CreateServiceFunction("TestPlug/MenuCommand", PluginMenuCommand); + mi.cbSize = sizeof(mi); + mi.position = -0x7FFFFFFF; + mi.flags = CMIF_TCHAR; + mi.hIcon = LoadSkinnedIcon(SKINICON_OTHER_MIRANDA); + mi.ptszName = LPGENT("&Test Plugin..."); + mi.pszService = "TestPlug/MenuCommand"; + Menu_AddMainMenuItem(&mi); + return 0; +} + +extern "C" __declspec(dllexport) int Unload(void) +{ + return 0; +} diff --git a/plugins/testplugin/testplug_10.vcxproj b/plugins/testplugin/testplug_10.vcxproj new file mode 100644 index 0000000000..043781f2be --- /dev/null +++ b/plugins/testplugin/testplug_10.vcxproj @@ -0,0 +1,218 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + + + + + + + + + DynamicLibrary + Unicode + + + DynamicLibrary + Unicode + + + DynamicLibrary + Unicode + true + + + DynamicLibrary + Unicode + true + + + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + true + + + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + true + + + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + true + + + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + true + + + + OnlyExplicitInline + true + true + Full + Level3 + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + + + true + NDEBUG;%(PreprocessorDefinitions) + .\Release\testplug.tlb + true + Win32 + + + 0x0809 + NDEBUG;%(PreprocessorDefinitions) + + + + true + Windows + $(IntDir)$(TargetName).lib + $(SolutionDir)\lib + true + true + true + false + + + + + OnlyExplicitInline + true + true + Full + Level3 + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + + + true + NDEBUG;%(PreprocessorDefinitions) + .\Release\testplug.tlb + true + + + 0x0809 + NDEBUG;%(PreprocessorDefinitions) + + + + true + Windows + $(IntDir)$(TargetName).lib + $(SolutionDir)\lib + true + true + true + false + + + + + MultiThreadedDebugDLL + false + Disabled + Level3 + true + EditAndContinue + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + EnableFastChecks + + + true + _DEBUG;%(PreprocessorDefinitions) + .\Debug\testplug.tlb + true + Win32 + + + 0x0809 + _DEBUG;%(PreprocessorDefinitions) + + + + true + true + Windows + $(IntDir)$(TargetName).lib + $(SolutionDir)\lib + false + + + + + MultiThreadedDebugDLL + false + Disabled + Level3 + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + EnableFastChecks + + + true + _DEBUG;%(PreprocessorDefinitions) + .\Debug\testplug.tlb + true + + + 0x0809 + _DEBUG;%(PreprocessorDefinitions) + + + + true + true + Windows + $(IntDir)$(TargetName).lib + $(SolutionDir)\lib + false + + + + + + \ No newline at end of file diff --git a/plugins/testplugin/testplug_10.vcxproj.filters b/plugins/testplugin/testplug_10.vcxproj.filters new file mode 100644 index 0000000000..6f57ac5bd9 --- /dev/null +++ b/plugins/testplugin/testplug_10.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {88cca963-381d-42ab-a6e5-ee52ef046ae3} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {27fed274-8a4f-4b06-9ac7-fbe7ce655ffb} + h;hpp;hxx;hm;inl + + + {73f1a4d8-ea59-4f1a-ac4d-471cfd59b402} + ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + + + Source Files + + + \ No newline at end of file -- cgit v1.2.3