summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/gameinfopacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/gameinfopacket.h')
-rw-r--r--protocols/Xfire/src/gameinfopacket.h30
1 files changed, 14 insertions, 16 deletions
diff --git a/protocols/Xfire/src/gameinfopacket.h b/protocols/Xfire/src/gameinfopacket.h
index dfd890e814..707458ba85 100644
--- a/protocols/Xfire/src/gameinfopacket.h
+++ b/protocols/Xfire/src/gameinfopacket.h
@@ -27,30 +27,28 @@
#define XFIRE_GAMEINFO_ID 156
-#include <string>
-
#include "xfirerecvpacketcontent.h"
#include "variablevalue.h"
namespace xfirelib {
- using namespace std;
+ using namespace std;
- class GameInfoPacket : public XFireRecvPacketContent {
- public:
- GameInfoPacket();
- virtual ~GameInfoPacket();
+ class GameInfoPacket : public XFireRecvPacketContent {
+ public:
+ GameInfoPacket();
+ virtual ~GameInfoPacket();
- XFirePacketContent* newPacket() { return new GameInfoPacket(); }
+ XFirePacketContent* newPacket() { return new GameInfoPacket(); }
- virtual int getPacketId() { return XFIRE_GAMEINFO_ID; }
- int getPacketContent(char *buf) { return 0; }
- int getPacketAttributeCount() { return 0; };
- int getPacketSize() { return 1024; };
- virtual void parseContent(char *buf, int length, int numberOfAtts);
+ virtual int getPacketId() { return XFIRE_GAMEINFO_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 *> *sids;
- vector<string> *gameinfo;
- };
+ vector<char *> *sids;
+ vector<string> *gameinfo;
+ };
};
#endif \ No newline at end of file