diff options
Diffstat (limited to 'protocols/Xfire/src/xfireprefpacket.h')
-rw-r--r-- | protocols/Xfire/src/xfireprefpacket.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/protocols/Xfire/src/xfireprefpacket.h b/protocols/Xfire/src/xfireprefpacket.h index f4e1709357..d9c593319a 100644 --- a/protocols/Xfire/src/xfireprefpacket.h +++ b/protocols/Xfire/src/xfireprefpacket.h @@ -30,23 +30,20 @@ #include "xfiresendpacketcontent.h" #include "variablevalue.h" -#include <string> - namespace xfirelib { - class XFirePrefPacket : public XFireSendPacketContent { - public: - XFirePacketContent* newPacket() { return new XFirePrefPacket(); } - - int getPacketId() { return 10; } - int getPacketContent(char *buf); - int getPacketAttributeCount(); - int getPacketSize() { return 1000; }; - void parseContent(char *buf, int length, int numberOfAtts) { }; - private: - int length; - }; - + class XFirePrefPacket : public XFireSendPacketContent { + public: + XFirePacketContent* newPacket() { return new XFirePrefPacket(); } + + int getPacketId() { return 10; } + int getPacketContent(char *buf); + int getPacketAttributeCount(); + int getPacketSize() { return 1000; }; + void parseContent(char*, int, int) { }; + private: + int length; + }; }; #endif |