diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-14 11:07:39 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-14 11:07:39 +0000 |
commit | b85f92056ab45c740b9d5e15230cbecf6f52b826 (patch) | |
tree | c3fa02b48e33d28f50925e13a2e7862cf5f5d442 /popup/src/main.cpp | |
parent | f8488f8e2388b609e56df6da750c40d4661163ab (diff) |
removed not needed code
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@82 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'popup/src/main.cpp')
-rw-r--r-- | popup/src/main.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/popup/src/main.cpp b/popup/src/main.cpp index 3850a43..8dd9ae9 100644 --- a/popup/src/main.cpp +++ b/popup/src/main.cpp @@ -77,7 +77,6 @@ HANDLE hMenuItemHistory = NULL; HANDLE hShowHistory = NULL;
HANDLE hTogglePopup = NULL;
HANDLE hGetStatus = NULL;
-HANDLE hGetVersion = NULL;
//===== Event Handles =====
HANDLE hOptionsInitialize;
@@ -524,11 +523,6 @@ static int OkToExit(WPARAM wParam, LPARAM lParam) return 0;
}
-static INT_PTR svcGetVersion(WPARAM, LPARAM)
-{
- return pluginInfoEx.version;
-}
-
//===== Load =====
//Initializes the services provided and the link to those needed
//Called when the plugin is loaded into Miranda
@@ -542,7 +536,6 @@ MIRAPI int Load(PLUGINLINK *link) CallService(MS_SYSTEM_GETVERSIONTEXT, (WPARAM) sizeof(ver), (LPARAM) ver);
g_popup.isMirUnicode = strstr(ver, "Unicode") != NULL;
- hGetVersion = CreateServiceFunction("PopupPlus/GetVersion", svcGetVersion);
hGetStatus = CreateServiceFunction(MS_POPUP_GETSTATUS, GetStatus);
DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &hMainThread, THREAD_SET_CONTEXT, FALSE, 0);
@@ -708,7 +701,6 @@ MIRAPI int Unload(void) DestroyServiceFunction(hShowHistory);
DestroyServiceFunction(hTogglePopup);
DestroyServiceFunction(hGetStatus);
- DestroyServiceFunction(hGetVersion);
DestroyServiceFunction(hSquareFad);
DeleteObject(fonts.title);
|