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.h | |
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.h')
-rw-r--r-- | protocols/Skype/src/skype_proto.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index a4613fcb3b..405d2fa907 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -1,7 +1,5 @@ -#pragma once
-
-#include "skype.h"
-#include <m_protoint.h>
+struct CSkypeProto;
+typedef INT_PTR (__cdecl CSkypeProto::*ServiceFunc)(WPARAM, LPARAM);
struct CSkypeProto : public PROTO_INTERFACE, public MZeroedObject
{
@@ -10,7 +8,7 @@ public: ~CSkypeProto();
// PROTO_INTERFACE
- /*virtual HANDLE __cdecl AddToList( int flags, PROTOSEARCHRESULT* psr );
+ virtual HANDLE __cdecl AddToList( int flags, PROTOSEARCHRESULT* psr );
virtual HANDLE __cdecl AddToListByEvent( int flags, int iContact, HANDLE hDbEvent );
virtual int __cdecl Authorize( HANDLE hDbEvent );
@@ -55,10 +53,10 @@ public: virtual int __cdecl UserIsTyping( HANDLE hContact, int type );
- virtual int __cdecl OnEvent( PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM lParam );*/
+ virtual int __cdecl OnEvent( PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM lParam );
-protected:
HANDLE m_hNetlibUser;
void Log( const char* fmt, ... );
+ void CreateProtoService(const char* szService, ServiceFunc serviceProc);
};
\ No newline at end of file |