diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-05 19:32:16 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-05 19:32:16 +0000 |
commit | 293d9234d72aa379a9cfe05334afda362ecb14e0 (patch) | |
tree | 094d36806f5804b79b029c162b796a34c3d473a2 /plugins/AddContactPlus/main.cpp | |
parent | 528949c71a12f54dc7b71133a32d9ee91cb53298 (diff) |
fixed plugin info
git-svn-id: http://svn.miranda-ng.org/main/trunk@318 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AddContactPlus/main.cpp')
-rw-r--r-- | plugins/AddContactPlus/main.cpp | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/plugins/AddContactPlus/main.cpp b/plugins/AddContactPlus/main.cpp index 201da5572f..7d1475d72c 100644 --- a/plugins/AddContactPlus/main.cpp +++ b/plugins/AddContactPlus/main.cpp @@ -29,20 +29,14 @@ HANDLE hIconLibItem; struct MM_INTERFACE mmi;
PLUGININFOEX pluginInfo = {
- sizeof(PLUGININFOEX),
-#if defined(_WIN64)
- "AddContact+ (x64)",
-#elif defined(_UNICODE)
- "AddContact+ (Unicode)",
-#else
- "AddContact+ (ANSI)",
-#endif
- PLUGIN_MAKE_VERSION(0, 9, 9, 0),
- "Provides the ability to quickly add new contacts.",
- "Bartosz 'Dezeath' Białek",
- "dezred"/*antispam*/"@"/*antispam*/"gmail"/*antispam*/"."/*antispam*/"com",
- "© 2007-2011 Bartosz 'Dezeath' Białek",
- "http://code.google.com/p/dezeath",
+ sizeof(PLUGININFOEX),
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
0,
// {6471D451-2FE0-4ee2-850E-9F84F3C0D187}
@@ -81,7 +75,7 @@ static int OnIconsChanged(WPARAM, LPARAM) return 0;
mi.cbSize = sizeof(mi);
- mi.flags = CMIM_ICON | CMIF_ICONFROMICOLIB;
+ mi.flags = CMIM_ICON | CMIF_ICONFROMICOLIB | CMIF_TCHAR;
mi.icolibItem = hIconLibItem;
CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMainMenuItem, (LPARAM)&mi);
@@ -112,9 +106,9 @@ static int OnAccListChanged(WPARAM, LPARAM) mi.cbSize = sizeof(mi);
mi.position = 500020001;
- mi.flags = CMIF_ICONFROMICOLIB;
+ mi.flags = CMIF_ICONFROMICOLIB | CMIF_TCHAR;
mi.icolibItem = hIconLibItem;
- mi.pszName = LPGEN("&Add Contact...");
+ mi.ptszName = LPGENT("&Add Contact...");
mi.pszService = MS_ADDCONTACTPLUS_SHOW;
hMainMenuItem = (HANDLE)CallService(MS_CLIST_ADDMAINMENUITEM, 0, (LPARAM)&mi);
|