diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-09-27 16:31:32 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-09-27 16:31:32 +0000 |
commit | 7b20bdca3b22c66a58b2ecf2735cb32417496681 (patch) | |
tree | 9653fe495a2338586cdaec8ce2aee167ca631608 /protocols/Skype/src/skype_utils.cpp | |
parent | 93b1c035da40df23e3eef4a1efd10dfe9c451375 (diff) |
- fixed previous commit issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@1684 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_utils.cpp')
-rw-r--r-- | protocols/Skype/src/skype_utils.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_utils.cpp b/protocols/Skype/src/skype_utils.cpp index be141b3e75..1f218dfc08 100644 --- a/protocols/Skype/src/skype_utils.cpp +++ b/protocols/Skype/src/skype_utils.cpp @@ -9,10 +9,15 @@ void CSkypeProto::Log(const char* fmt, ...) mir_vsnprintf(msg, sizeof(msg), fmt, va);
va_end(va);
- CallService(MS_NETLIB_LOG, ( WPARAM )this->hNetlibUser, (LPARAM)msg);
+ CallService(MS_NETLIB_LOG, (WPARAM)this->hNetlibUser, (LPARAM)msg);
}
-void CSkypeProto::CreateProtoService(const char* szService, SkypeServiceFunc serviceProc)
+void CSkypeProto::HookEvent(const char* szEvent, SkypeEventFunc handler)
+{
+ HookEventObj(szEvent, (MIRANDAHOOKOBJ)*( void**)&handler, this);
+}
+
+void CSkypeProto::CreateService(const char* szService, SkypeServiceFunc serviceProc)
{
char temp[MAX_PATH*2];
|