From a98d83a4756315bda62df0ede25872f7582ffc59 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Thu, 5 May 2011 12:27:05 +0000 Subject: small update from addons.miranda-im.org git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@73 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- contacts_rate/main.cpp | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) (limited to 'contacts_rate/main.cpp') diff --git a/contacts_rate/main.cpp b/contacts_rate/main.cpp index 5b85548..41c7efa 100644 --- a/contacts_rate/main.cpp +++ b/contacts_rate/main.cpp @@ -61,7 +61,7 @@ extern int onOptInitialise(WPARAM wParam, LPARAM lParam); PLUGININFOEX pluginInfo={ sizeof(PLUGININFOEX), "Contact`s Rate", - PLUGIN_MAKE_VERSION(0,0,2,0), + PLUGIN_MAKE_VERSION(0,0,2,1), "Show rating of contact in contact list (if presents).", "Kildor, Thief", "kostia@ngs.ru", @@ -74,20 +74,6 @@ PLUGININFOEX pluginInfo={ }; -PLUGININFO oldpluginInfo={ - sizeof(PLUGININFO), - pluginInfo.shortName, - pluginInfo.version, - pluginInfo.description, - pluginInfo.author, - pluginInfo.authorEmail, - pluginInfo.copyright, - pluginInfo.homepage, - pluginInfo.flags, - pluginInfo.replacesDefaultModule -}; - - extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) { g_hInst = hinstDLL; @@ -99,19 +85,13 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda { if (mirandaVersion < PLUGIN_MAKE_VERSION(0, 8, 0, 29)) { - MessageBoxA( NULL, "The plugin requires Miranda IM 0.8.0.29 or later for correct applying its preferences.", "Contact` Rate", + MessageBox( NULL, TranslateT("The plugin requires Miranda IM 0.8.0.29 or later for correct applying its preferences."), TranslateT("Contact` Rate"), MB_OK|MB_ICONWARNING|MB_SETFOREGROUND|MB_TOPMOST ); } return &pluginInfo; } -extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion) -{ - return &oldpluginInfo; -} - - extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) { static const MUUID interfaces[] = {MIID_CONTACTSRATE, MIID_LAST}; -- cgit v1.2.3