diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-10-03 18:30:39 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-10-03 18:30:39 +0000 |
commit | fdae978639989c9988f16385d4cdfb32a0467ef0 (patch) | |
tree | 2eed678ad08751613ddf34a4209e934f78a6115e /protocols/Skype/src/skype.cpp | |
parent | 8cb2a99e08a3f8fadc3b39f00228efa7d2b20050 (diff) |
- added skype_menus.cpp, skype_services.cpp
- some minor changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1773 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype.cpp')
-rw-r--r-- | protocols/Skype/src/skype.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype.cpp b/protocols/Skype/src/skype.cpp index db983a1b68..a3e5823c7b 100644 --- a/protocols/Skype/src/skype.cpp +++ b/protocols/Skype/src/skype.cpp @@ -94,7 +94,6 @@ void StartSkypeRuntime() {
// loading skype runtime
// shitcode
- int port = 8963;
wchar_t* bsp;
STARTUPINFO cif;
PROCESS_INFORMATION pi;
@@ -155,13 +154,17 @@ extern "C" int __declspec(dllexport) Load(void) pd.fnUninit = (pfnUninitProto)SkypeProtoUninit;
CallService(MS_PROTO_REGISTERMODULE, 0, reinterpret_cast<LPARAM>(&pd));
- IconsLoad();
+ CSkypeProto::InitIcons();
+ CSkypeProto::InitMenus();
return 0;
}
extern "C" int __declspec(dllexport) Unload(void)
{
+ CSkypeProto::UninitMenus();
+ CSkypeProto::UninitIcons();
+
g_skype->stop();
delete g_skype;
|