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/NewEventNotify | |
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/NewEventNotify')
-rw-r--r-- | plugins/NewEventNotify/main.c | 6 | ||||
-rw-r--r-- | plugins/NewEventNotify/menuitem.c | 3 | ||||
-rw-r--r-- | plugins/NewEventNotify/options.c | 2 |
3 files changed, 3 insertions, 8 deletions
diff --git a/plugins/NewEventNotify/main.c b/plugins/NewEventNotify/main.c index c6240c0402..e355f7adce 100644 --- a/plugins/NewEventNotify/main.c +++ b/plugins/NewEventNotify/main.c @@ -48,7 +48,6 @@ extern PLUGIN_DATA* PopUpList[20]; //---------------------------
//---Some global variables for the plugin
-struct MM_INTERFACE mmi;
HINSTANCE hInst;
PLUGIN_OPTIONS pluginOptions;
@@ -221,10 +220,7 @@ int __declspec(dllexport) Load(PLUGINLINK *link) {
pluginLink = link;
hHookedInit = HookEvent(ME_SYSTEM_MODULESLOADED, HookedInit);
- hHookedOpt = HookEvent(ME_OPT_INITIALISE, HookedOptions);
-
- mir_getMMI(&mmi);
- mir_getLP(&pluginInfo);
+ hHookedOpt = HookEvent(ME_OPT_INITIALISE, HookedOptions);
mir_getLP(&pluginInfo);
InitI18N();
diff --git a/plugins/NewEventNotify/menuitem.c b/plugins/NewEventNotify/menuitem.c index f6d471b636..eac66a59aa 100644 --- a/plugins/NewEventNotify/menuitem.c +++ b/plugins/NewEventNotify/menuitem.c @@ -30,14 +30,13 @@ CLISTMENUITEM menuitem; HANDLE hMenuitemNotify;
BOOL bNotify;
-static int MenuitemNotifyCmd(WPARAM wParam,LPARAM lParam)
+static INT_PTR MenuitemNotifyCmd(WPARAM wParam,LPARAM lParam)
{
bNotify = !bNotify;
MenuitemUpdate(bNotify);
//write changes to options->bDisable and into database
Opt_DisableNEN(!bNotify);
-
return 0;
}
diff --git a/plugins/NewEventNotify/options.c b/plugins/NewEventNotify/options.c index 401ab0941d..24ecc24485 100644 --- a/plugins/NewEventNotify/options.c +++ b/plugins/NewEventNotify/options.c @@ -145,7 +145,7 @@ static void UpdateOptionsDlgItemsState(HWND hWnd) EnableDlgItem(hWnd, IDC_DELAY_OTHERS, options->iDelayOthers != -1);
}
-static BOOL CALLBACK OptionsDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK OptionsDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
|