diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-09-26 18:24:48 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-09-26 18:24:48 +0000 |
commit | d9cd01de6dd3458ad806fdbe1d29108eda55b3e4 (patch) | |
tree | 2a3bc6b7e99911967f0177bde9e6f34b564525ed /protocols/Skype/src/skype_proto.cpp | |
parent | 596d5ab98574161befaf4b37513bbb905270e317 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@1665 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r-- | protocols/Skype/src/skype_proto.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index b01329ca4e..97ebdc4f8c 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -43,4 +43,12 @@ void CSkypeProto::Log( const char* fmt, ... ) va_end(va);
CallService(MS_NETLIB_LOG, ( WPARAM )m_hNetlibUser, (LPARAM)msg);
-}
\ No newline at end of file +}
+
+void CSkypeProto::CreateProtoService(const char *szService, ServiceFunc serviceProc)
+{
+ char str[ MAXMODULELABELLENGTH ];
+ strcpy( str, m_szModuleName );
+ strcat( str, szService );
+ ::CreateServiceFunctionObj( str, ( MIRANDASERVICEOBJ )*( void** )&serviceProc, this );
+}
|