diff options
Diffstat (limited to 'plugins/BasicHistory/src/BasicHistory.cpp')
-rw-r--r-- | plugins/BasicHistory/src/BasicHistory.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/BasicHistory/src/BasicHistory.cpp b/plugins/BasicHistory/src/BasicHistory.cpp index 1f7e86af19..8b42954c44 100644 --- a/plugins/BasicHistory/src/BasicHistory.cpp +++ b/plugins/BasicHistory/src/BasicHistory.cpp @@ -27,7 +27,6 @@ HINSTANCE hInst; HCURSOR hCurSplitNS, hCurSplitWE;
HANDLE g_hMainThread = NULL;
-HANDLE hServiceShowContactHistory, hServiceDeleteAllContactHistory, hServiceExecuteTask;
HANDLE *hEventIcons = NULL;
int iconsNum = 3;
HANDLE hToolbarButton;
@@ -253,9 +252,9 @@ extern "C" int __declspec(dllexport) Load(void) hCurSplitNS = LoadCursor(NULL, IDC_SIZENS);
hCurSplitWE = LoadCursor(NULL, IDC_SIZEWE);
- hServiceShowContactHistory = CreateServiceFunction(MS_HISTORY_SHOWCONTACTHISTORY, ShowContactHistory);
- hServiceDeleteAllContactHistory = CreateServiceFunction(MS_HISTORY_DELETEALLCONTACTHISTORY, HistoryWindow::DeleteAllUserHistory);
- hServiceExecuteTask = CreateServiceFunction(MS_HISTORY_EXECUTE_TASK, ExecuteTaskService);
+ CreateServiceFunction(MS_HISTORY_SHOWCONTACTHISTORY, ShowContactHistory);
+ CreateServiceFunction(MS_HISTORY_DELETEALLCONTACTHISTORY, HistoryWindow::DeleteAllUserHistory);
+ CreateServiceFunction(MS_HISTORY_EXECUTE_TASK, ExecuteTaskService);
Options::instance = new Options();
@@ -274,10 +273,6 @@ extern "C" int __declspec(dllexport) Unload(void) CloseHandle(g_hMainThread);
g_hMainThread = NULL;
- DestroyServiceFunction(hServiceShowContactHistory);
- DestroyServiceFunction(hServiceDeleteAllContactHistory);
- DestroyServiceFunction(hServiceExecuteTask);
-
HistoryWindow::Deinit();
DestroyCursor(hCurSplitNS);
|