summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-09 15:47:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-09 15:47:48 +0000
commite52132834312c3d956323650f4fa34e94b95325e (patch)
tree21fe856be6322cf844945c7dbde57c9fa0f25156 /protocols/WhatsApp/src/proto.h
parent6ea844fd51084c2e78fe400e1a9034c7960a922a (diff)
forgotten to adapt wasuup
git-svn-id: http://svn.miranda-ng.org/main/trunk@5298 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.h')
-rw-r--r--protocols/WhatsApp/src/proto.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h
index 65430567fb..d8365501cc 100644
--- a/protocols/WhatsApp/src/proto.h
+++ b/protocols/WhatsApp/src/proto.h
@@ -3,10 +3,10 @@
class WASocketConnection;
-class WhatsAppProto : public PROTO_INTERFACE, public WAListener, public WAGroupListener
+class WhatsAppProto : public PROTO<WhatsAppProto>, public WAListener, public WAGroupListener
{
public:
- WhatsAppProto( const char *proto_name, const TCHAR *username );
+ WhatsAppProto(const char *proto_name, const TCHAR *username);
~WhatsAppProto( );
inline const char* ModuleName( ) const
@@ -95,8 +95,8 @@ public:
INT_PTR __cdecl OnAddContactToGroup(WPARAM, LPARAM, LPARAM);
INT_PTR __cdecl OnRemoveContactFromGroup(WPARAM, LPARAM, LPARAM);
- int __cdecl OnChangeGroupSubject(WPARAM, LPARAM);
- int __cdecl OnLeaveGroup(WPARAM, LPARAM);
+ INT_PTR __cdecl OnChangeGroupSubject(WPARAM, LPARAM);
+ INT_PTR __cdecl OnLeaveGroup(WPARAM, LPARAM);
// Loops
bool NegotiateConnection();