From a7001dfd139fbb9d5cf5434fc40370f8da0cf04c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 28 Jul 2012 12:35:00 +0000 Subject: perversive error reporting schema in DATABASELINK removed git-svn-id: http://svn.miranda-ng.org/main/trunk@1223 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/testplugin/testplug.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'plugins/testplugin/testplug.c') 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 +} -- cgit v1.2.3