diff options
author | George Hazan <george.hazan@gmail.com> | 2016-02-09 12:21:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-02-09 12:21:12 +0000 |
commit | fd8fdaa7ade16132fd3f23db5b0727e3615038ad (patch) | |
tree | 7b3f216bfe6edbe91b166cb67fb24fee2ae3e8cd /protocols/WhatsApp/src/proto.h | |
parent | a2e3d77c3aa849f3dd29be0ef114f9ea7e126146 (diff) |
- code cleaning;
- warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@16250 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.h')
-rw-r--r-- | protocols/WhatsApp/src/proto.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index 8abf895347..2822dd85d0 100644 --- a/protocols/WhatsApp/src/proto.h +++ b/protocols/WhatsApp/src/proto.h @@ -163,34 +163,34 @@ protected: // WAListener methods ////////////////////////////////////////////////////////////////
virtual void onMessageForMe(const FMessage ¶mFMessage);
virtual void onMessageStatusUpdate(const FMessage ¶mFMessage);
- virtual void onMessageError(const FMessage &message, int paramInt) { ; }
+ virtual void onMessageError(const FMessage&, int) { }
virtual void onPing(const std::string &id) throw (WAException);
- virtual void onPingResponseReceived() { }
+ virtual void onPingResponseReceived() { }
virtual void onAvailable(const std::string ¶mString, bool paramBoolean, DWORD lastSeenTime);
- virtual void onClientConfigReceived(const std::string ¶mString) { }
+ virtual void onClientConfigReceived(const std::string&) { }
virtual void onIsTyping(const std::string ¶mString, bool paramBoolean);
- virtual void onAccountChange(int paramInt, time_t expire_date) { }
- virtual void onPrivacyBlockListAdd(const std::string ¶mString) { }
- virtual void onPrivacyBlockListClear() { }
- virtual void onDirty(const std::map<string, string>& paramHashtable) { }
- virtual void onDirtyResponse(int paramHashtable) { }
- virtual void onRelayRequest(const std::string ¶mString1, int paramInt, const std::string ¶mString2) { }
+ virtual void onAccountChange(int, time_t) { }
+ virtual void onPrivacyBlockListAdd(const std::string&) { }
+ virtual void onPrivacyBlockListClear() { }
+ virtual void onDirty(const std::map<string, string>&) { }
+ virtual void onDirtyResponse(int) { }
+ virtual void onRelayRequest(const std::string&, int, const std::string&) { }
virtual void onSendGetPicture(const std::string &jid, const std::vector<unsigned char>& data, const std::string &id);
virtual void onPictureChanged(const std::string &jid, const std::string &id, bool set);
virtual void onContactChanged(const std::string &jid, bool added);
- virtual void onDeleteAccount(bool result) {}
+ virtual void onDeleteAccount(bool) {}
// WAGroupListener methods ///////////////////////////////////////////////////////////
virtual void onGroupAddUser(const std::string &gjid, const std::string &ujid, int ts);
virtual void onGroupRemoveUser(const std::string &gjid, const std::string &ujid, int ts);
virtual void onGroupNewSubject(const std::string &from, const std::string &author, const std::string &newSubject, int ts);
virtual void onGroupMessage(const FMessage ¶mFMessage);
- virtual void onServerProperties(std::map<std::string, std::string>* nameValueMap) {}
+ virtual void onServerProperties(std::map<std::string, std::string>*) { }
virtual void onGroupCreated(const std::string &gjid, const std::string &nick);
virtual void onGroupInfo(const std::string &jid, const std::string &owner, const std::string &subject, const std::string &subject_owner, int time_subject, int time_created);
- virtual void onSetSubject(const std::string ¶mString) { }
- virtual void onAddGroupParticipants(const std::string ¶mString, const std::vector<string> ¶mVector, int paramHashtable) { }
- virtual void onRemoveGroupParticipants(const std::string ¶mString, const std::vector<string> ¶mVector, int paramHashtable) { }
+ virtual void onSetSubject(const std::string&) { }
+ virtual void onAddGroupParticipants(const std::string&, const std::vector<string>&, int) { }
+ virtual void onRemoveGroupParticipants(const std::string&, const std::vector<string>&, int) { }
virtual void onGetParticipants(const std::string &gjid, const std::vector<string> &participants);
virtual void onLeaveGroup(const std::string ¶mString);
|