summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/gameinfopacket.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-11 13:33:42 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-11 13:33:42 +0000
commit85bd008c039eb1d93894e94fba9d158a42a71a12 (patch)
tree2d72d10759f6928e9e4b960175d2de01b5cf7e12 /protocols/Xfire/src/gameinfopacket.h
parent222802c2986dcaf029fdfb828b7679bdabfa7bb2 (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/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