diff options
Diffstat (limited to 'contacts_rate/main.cpp')
-rw-r--r-- | contacts_rate/main.cpp | 24 |
1 files changed, 2 insertions, 22 deletions
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};
|