diff options
author | George Hazan <george.hazan@gmail.com> | 2012-12-01 00:19:57 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-12-01 00:19:57 +0000 |
commit | a421acc1e18762eb0810d1b9013285d083b95314 (patch) | |
tree | 6d6c93b083ee8c466b432fb6cc30da32ffdd2043 /plugins/MetaContacts/src/meta_main.cpp | |
parent | a89f0c432f9275be3c7a39b24404a73b13a940f3 (diff) |
- fixes for the menu icons related stuff;
- some old code dropped;
git-svn-id: http://svn.miranda-ng.org/main/trunk@2574 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MetaContacts/src/meta_main.cpp')
-rw-r--r-- | plugins/MetaContacts/src/meta_main.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/plugins/MetaContacts/src/meta_main.cpp b/plugins/MetaContacts/src/meta_main.cpp index cf98970716..288e344872 100644 --- a/plugins/MetaContacts/src/meta_main.cpp +++ b/plugins/MetaContacts/src/meta_main.cpp @@ -89,6 +89,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. BOOL os_unicode_enabled = FALSE;
int hLangpack;
+CLIST_INTERFACE *pcli = NULL;
//! Information gathered by Miranda, displayed in the plugin pane of the Option Dialog
PLUGININFOEX pluginInfo={
@@ -136,14 +137,6 @@ extern "C" __declspec(dllexport) int Unload(void) //MessageBox(0, "Unload complete", "MC", MB_OK);
return 0;
}
-
-BOOL IsUnicodeOS()
-{
- OSVERSIONINFOW os;
- memset(&os, 0, sizeof(OSVERSIONINFOW));
- os.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW);
- return (GetVersionExW(&os) != 0);
-}
/** Initializes the services provided and the link to those needed
* Called when the plugin is loaded into Miranda
@@ -151,8 +144,7 @@ BOOL IsUnicodeOS() extern "C" __declspec(dllexport) int Load(void)
{
mir_getLP(&pluginInfo);
-
- os_unicode_enabled = IsUnicodeOS();
+ pcli = ( CLIST_INTERFACE* )CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, (LPARAM)hInstance);
CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)(META_PROTO "/Status"));
CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)(META_PROTO "/IdleTS"));
|