summaryrefslogtreecommitdiff
path: root/plugins/testplugin/testplug.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-06 21:38:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-06 21:38:38 +0000
commit59552b87f350684b566a4359de769f12eb6dd56b (patch)
tree20ea46237ffab17d294934188eab631eff12f11d /plugins/testplugin/testplug.cpp
parentcfd90c47ed918ccfb1cb57e5331a4e7a216ccf10 (diff)
rename of 2010 projects without *_10 suffix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/testplugin/testplug.cpp')
-rw-r--r--plugins/testplugin/testplug.cpp76
1 files changed, 0 insertions, 76 deletions
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 <windows.h>
-#include <tchar.h>
-
-#include <newpluginapi.h>
-#include <m_langpack.h>
-#include <m_clist.h>
-#include <m_skin.h>
-
-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;
-}