diff options
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];
|