diff options
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r-- | protocols/Skype/src/skype_proto.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index 405d2fa907..6967c918a9 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -1,5 +1,10 @@ +#pragma once
+
+#include "skype.h"
+
struct CSkypeProto;
-typedef INT_PTR (__cdecl CSkypeProto::*ServiceFunc)(WPARAM, LPARAM);
+
+typedef INT_PTR (__cdecl CSkypeProto::*SkypeServiceFunc)(WPARAM, LPARAM);
struct CSkypeProto : public PROTO_INTERFACE, public MZeroedObject
{
@@ -55,8 +60,16 @@ public: virtual int __cdecl OnEvent( PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM lParam );
- HANDLE m_hNetlibUser;
+ char* ModuleName();
+ bool IsOffline();
+protected:
+ bool isOffline;
+ Account::Ref account;
+
+ HANDLE hNetlibUser;
void Log( const char* fmt, ... );
- void CreateProtoService(const char* szService, ServiceFunc serviceProc);
+
+ INT_PTR __cdecl SvcCreateAccMgrUI(WPARAM wParam, LPARAM lParam);
+ void CreateProtoService(const char* szService, SkypeServiceFunc serviceProc);
};
\ No newline at end of file |