diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-28 12:35:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-28 12:35:00 +0000 |
commit | a7001dfd139fbb9d5cf5434fc40370f8da0cf04c (patch) | |
tree | 844416b2bc429054557bda440e75f466f1e30bf7 /plugins/testplugin | |
parent | d5defc979cd71a5f2bb5176382fa2f5f50f23d1b (diff) |
perversive error reporting schema in DATABASELINK removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@1223 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/testplugin')
-rw-r--r-- | plugins/testplugin/testplug.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/plugins/testplugin/testplug.c b/plugins/testplugin/testplug.c index 219f10f81e..46f9d0f398 100644 --- a/plugins/testplugin/testplug.c +++ b/plugins/testplugin/testplug.c @@ -48,10 +48,6 @@ __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) }
extern "C" __declspec(dllexport) const MUUID interfaces[] = {MIID_TESTPLUGIN, MIID_LAST};
-__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
int __declspec(dllexport) Load(PLUGINLINK *link)
{
@@ -64,12 +60,12 @@ int __declspec(dllexport) Load(PLUGINLINK *link) mi.flags=0;
mi.hIcon=LoadSkinnedIcon(SKINICON_OTHER_MIRANDA);
mi.pszName=LPGEN("&Test Plugin...");
- mi.pszService="TestPlug/MenuCommand";
- CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&mi);
+ mi.pszService ="TestPlug/MenuCommand";
+ Menu_AddMenuItem(&mi);
return 0;
}
int __declspec(dllexport) Unload(void)
{
return 0;
-}
\ No newline at end of file +}
|