diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:33:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:33:42 +0000 |
commit | 85bd008c039eb1d93894e94fba9d158a42a71a12 (patch) | |
tree | 2d72d10759f6928e9e4b960175d2de01b5cf7e12 /protocols/Xfire/src/recvstatusmessagepacket.h | |
parent | 222802c2986dcaf029fdfb828b7679bdabfa7bb2 (diff) |
massive code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14910 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/recvstatusmessagepacket.h')
-rw-r--r-- | protocols/Xfire/src/recvstatusmessagepacket.h | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/protocols/Xfire/src/recvstatusmessagepacket.h b/protocols/Xfire/src/recvstatusmessagepacket.h index 95e61fab12..2c3a245211 100644 --- a/protocols/Xfire/src/recvstatusmessagepacket.h +++ b/protocols/Xfire/src/recvstatusmessagepacket.h @@ -27,31 +27,27 @@ #include "xfirerecvpacketcontent.h" #include "buddylist.h" -#include <string> -#include <vector> namespace xfirelib { - class RecvStatusMessagePacket : public XFireRecvPacketContent { - public: - RecvStatusMessagePacket(); - virtual ~RecvStatusMessagePacket() { } - XFirePacketContent *newPacket() { return new RecvStatusMessagePacket; } - int getPacketId() { return XFIRE_RECV_STATUSMESSAGE_PACKET_ID; } + class RecvStatusMessagePacket : public XFireRecvPacketContent { + public: + RecvStatusMessagePacket(); + virtual ~RecvStatusMessagePacket() { } + XFirePacketContent *newPacket() { return new RecvStatusMessagePacket; } + int getPacketId() { return XFIRE_RECV_STATUSMESSAGE_PACKET_ID; } - void parseContent(char *buf, int length, int numberOfAtts); - char * getSid(int i){ return sids->at(i); } + void parseContent(char *buf, int length, int numberOfAtts); + char * getSid(int i){ return sids->at(i); } - std::vector<char *> *sids; - std::vector<std::string> *msgs; - BuddyListEntry** entries; - int centries; - - private: - int readStrings(std::vector<std::string> *strings, char *buf, int index); - }; + std::vector<char *> *sids; + std::vector<std::string> *msgs; + BuddyListEntry** entries; + int centries; + private: + int readStrings(std::vector<std::string> *strings, char *buf, int index); + }; }; - #endif |