diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-10 10:50:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-10 10:50:41 +0000 |
commit | e190a7fde521bd6af9ea485cc730f854aaf38e11 (patch) | |
tree | e69acc25c89a49f81cc0d82274e8ebadd9afa233 /protocols/WhatsApp | |
parent | f9c9f7a27456f98ac84f27add1c2aea5bd99a35c (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@8080 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp')
-rw-r--r-- | protocols/WhatsApp/src/proto.cpp | 2 | ||||
-rw-r--r-- | protocols/WhatsApp/src/proto.h | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp index c7239ee4e2..fc83768621 100644 --- a/protocols/WhatsApp/src/proto.cpp +++ b/protocols/WhatsApp/src/proto.cpp @@ -134,7 +134,7 @@ int WhatsAppProto::SetStatus( int new_status ) return 0;
}
-HANDLE WhatsAppProto::AddToList( int flags, PROTOSEARCHRESULT* psr )
+HCONTACT WhatsAppProto::AddToList(int flags, PROTOSEARCHRESULT* psr)
{
return NULL;
}
diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index 80e954d71a..5b1862464a 100644 --- a/protocols/WhatsApp/src/proto.h +++ b/protocols/WhatsApp/src/proto.h @@ -32,8 +32,8 @@ public: //PROTO_INTERFACE
- virtual HANDLE __cdecl AddToList( int flags, PROTOSEARCHRESULT* psr );
- virtual HANDLE __cdecl AddToListByEvent( int flags, int iContact, HANDLE hDbEvent ) { return NULL; }
+ virtual HCONTACT __cdecl AddToList(int flags, PROTOSEARCHRESULT* psr);
+ virtual HCONTACT __cdecl AddToListByEvent(int flags, int iContact, HANDLE hDbEvent) { return NULL; }
virtual int __cdecl Authorize( HANDLE hDbEvent );
virtual int __cdecl AuthDeny( HANDLE hDbEvent, const PROTOCHAR* szReason ) { return 1; }
@@ -207,8 +207,6 @@ public: // Information providing
void NotifyEvent(TCHAR* title, TCHAR* info, HCONTACT contact, DWORD flags, TCHAR* url = NULL);
void NotifyEvent(const string& title, const string& info, HCONTACT contact, DWORD flags, TCHAR* url = NULL);
-
-
};
#endif
\ No newline at end of file |