diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-20 23:36:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-20 23:36:07 +0300 |
commit | 41ee395da7530c17656bd06f84638ab8d9d3776d (patch) | |
tree | 4f28423e3acb809b9be60f467d7fbca262a612d5 /plugins/Alarms | |
parent | e79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff) |
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'plugins/Alarms')
-rwxr-xr-x | plugins/Alarms/src/frame.cpp | 2 | ||||
-rwxr-xr-x | plugins/Alarms/src/options.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Alarms/src/frame.cpp b/plugins/Alarms/src/frame.cpp index 69759eb1d6..9836ab3858 100755 --- a/plugins/Alarms/src/frame.cpp +++ b/plugins/Alarms/src/frame.cpp @@ -383,7 +383,7 @@ LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar case WM_COMMAND:
switch (LOWORD(wParam)) {
case ID_REMINDERFRAMECONTEXT_OPTIONS:
- Options_Open(L"Events", L"Alarms");
+ g_plugin.openOptions(L"Events", L"Alarms");
break;
case ID_REMINDERFRAMECONTEXT_SUSPEND:
diff --git a/plugins/Alarms/src/options.cpp b/plugins/Alarms/src/options.cpp index 3dc22dccba..d756fe850f 100755 --- a/plugins/Alarms/src/options.cpp +++ b/plugins/Alarms/src/options.cpp @@ -1218,7 +1218,7 @@ int OptInit(WPARAM wParam, LPARAM) odp.szGroup.a = LPGEN("Events");
odp.flags = ODPF_BOLDGROUPS;
odp.pfnDlgProc = DlgProcOpts;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
return 0;
}
|