diff options
Diffstat (limited to 'protocols/Xfire/src/buddylistgamespacket.h')
-rw-r--r-- | protocols/Xfire/src/buddylistgamespacket.h | 48 |
1 files changed, 22 insertions, 26 deletions
diff --git a/protocols/Xfire/src/buddylistgamespacket.h b/protocols/Xfire/src/buddylistgamespacket.h index ba0264c29e..94d3ed4ee3 100644 --- a/protocols/Xfire/src/buddylistgamespacket.h +++ b/protocols/Xfire/src/buddylistgamespacket.h @@ -25,36 +25,32 @@ #define XFIRE_BUDDYS_GAMES_ID 135 -#include <vector> -#include <string> - #include "xfirerecvpacketcontent.h" #include "variablevalue.h" - namespace xfirelib { - using namespace std; - - class BuddyListGamesPacket : public XFireRecvPacketContent { - public: - BuddyListGamesPacket(); - virtual ~BuddyListGamesPacket(); - - XFirePacketContent* newPacket() { return new BuddyListGamesPacket(); } - - virtual int getPacketId() { return XFIRE_BUDDYS_GAMES_ID; } - int getPacketContent(char *buf) { return 0; } - int getPacketAttributeCount() { return 0; }; - int getPacketSize() { return 1024; }; - virtual void parseContent(char *buf, int length, int numberOfAtts); - - vector<char *> *ips; - vector<long> *ports; - vector<long> *gameids; - vector<long> *gameids2; - vector<char *> *sids; - int type; - }; + using namespace std; + + class BuddyListGamesPacket : public XFireRecvPacketContent { + public: + BuddyListGamesPacket(); + virtual ~BuddyListGamesPacket(); + + XFirePacketContent* newPacket() { return new BuddyListGamesPacket(); } + + virtual int getPacketId() { return XFIRE_BUDDYS_GAMES_ID; } + int getPacketContent(char*) { return 0; } + int getPacketAttributeCount() { return 0; }; + int getPacketSize() { return 1024; }; + virtual void parseContent(char *buf, int length, int numberOfAtts); + + vector<char *> *ips; + vector<long> *ports; + vector<long> *gameids; + vector<long> *gameids2; + vector<char *> *sids; + int type; + }; }; |