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/TrafficCounter | |
parent | e79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff) |
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'plugins/TrafficCounter')
-rw-r--r-- | plugins/TrafficCounter/src/options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TrafficCounter/src/options.cpp b/plugins/TrafficCounter/src/options.cpp index 1da2a9ee09..00a17afbfe 100644 --- a/plugins/TrafficCounter/src/options.cpp +++ b/plugins/TrafficCounter/src/options.cpp @@ -351,13 +351,13 @@ int TrafficCounterOptInitialise(WPARAM wParam, LPARAM) odp.szTitle.a = LPGEN("Traffic counter");
odp.pfnDlgProc = DlgProcTCOptions;
odp.flags = ODPF_BOLDGROUPS;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
// Statistics options page
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_STATS);
odp.szTab.a = LPGEN("Statistics");
odp.pfnDlgProc = DlgProcOptStatistics;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
// Popups option page
if (bPopupExists) {
@@ -366,7 +366,7 @@ int TrafficCounterOptInitialise(WPARAM wParam, LPARAM) odp.szTitle.a = LPGEN("Traffic counter");
odp.pfnDlgProc = DlgProcPopupsTraffic;
odp.flags = ODPF_BOLDGROUPS;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
}
return 0;
}
|