diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-26 23:41:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-26 23:41:55 +0000 |
commit | 25221b7d2afb70f82eb3805330fd39a6f6708049 (patch) | |
tree | 6fdd3eb5c5642788e1f8286385b15535f9a7ec16 /plugins/Popup/src/main.cpp | |
parent | ef81e9edc10e2478f514e1fbfb0828ad1e7d8e49 (diff) |
mk: removed all LIST_INTERFACE, MI_INTERFACE & UTF8_INTERFACE instances.
all related functions moved to mir_core.
git-svn-id: http://svn.miranda-ng.org/main/trunk@644 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/main.cpp')
-rw-r--r-- | plugins/Popup/src/main.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index 06779ef5d5..acd94f3cdc 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -112,7 +112,7 @@ static struct { {MS_POPUP_GETCONTACT, PopUp_GetContact, 0},
{MS_POPUP_GETPLUGINDATA, PopUp_GetPluginData, 0},
{MS_POPUP_ISSECONDLINESHOWN, PopUp_IsSecondLineShown, 0},
-
+
{MS_POPUP_SHOWMESSAGE, PopUp_ShowMessage, 0},
{MS_POPUP_SHOWMESSAGEW, PopUp_ShowMessageW, 0},
{MS_POPUP_QUERY, PopUp_Query, 0},
@@ -266,7 +266,7 @@ INT_PTR svcEnableDisableMenuCommand(WPARAM wp, LPARAM lp) DBWriteContactSettingByte(NULL, MODULNAME, "ModuleIsEnabled", FALSE);
mi.ptszName = LPGENT("Enable &popup module");
mi.hIcon = IcoLib_GetIcon(ICO_POPUP_OFF,0);
- }
+ }
else {
//The module is disabled.
//The action to do is enable popups (show enabled), then write "disable popup" in the new item.
@@ -334,7 +334,7 @@ INT_PTR GetStatus(WPARAM wp, LPARAM lp) }
//register Updatersupport
-void registerUpdate() {
+void registerUpdate() {
Update update = {0};
char szVersion[16];
update.cbSize = sizeof(Update);
@@ -359,7 +359,7 @@ void registerUpdate() { }
//register Hotkey
-void LoadHotkey() {
+void LoadHotkey() {
HOTKEYDESC hk = {0};
hk.cbSize = sizeof(hk);
hk.dwFlags = HKD_TCHAR;
@@ -503,9 +503,7 @@ MIRAPI int Load(PLUGINLINK *link) DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &hMainThread, THREAD_SET_CONTEXT, FALSE, 0);
- mir_getLI (&li);
- mir_getUTFI (&utfi);
- mir_getMTI (&MText);
+ mir_getMTI(&MText);
mir_getLP(&pluginInfoEx);
#if defined(_DEBUG)
@@ -547,7 +545,7 @@ MIRAPI int Load(PLUGINLINK *link) if (DBGetContactSetting(NULL, "KnownModules", MODULNAME, &dbv))
DBWriteContactSettingString(NULL, "KnownModules", pluginInfoEx.shortName, MODULNAME);
DBFreeVariant(&dbv);
-
+
hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
hOptionsInitialize = HookEvent(ME_OPT_INITIALISE, OptionsInitialize);
hOkToExit = HookEvent(ME_SYSTEM_OKTOEXIT, OkToExit);
|