summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/clientversionpacket.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/clientversionpacket.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/clientversionpacket.h')
-rw-r--r--protocols/Xfire/src/clientversionpacket.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/protocols/Xfire/src/clientversionpacket.h b/protocols/Xfire/src/clientversionpacket.h
index 4c40b1875a..c8c8d5e6ce 100644
--- a/protocols/Xfire/src/clientversionpacket.h
+++ b/protocols/Xfire/src/clientversionpacket.h
@@ -29,25 +29,25 @@
namespace xfirelib {
- /**
- * (Internal) Packet used to send client version information.
- * it is sent in Client::connect( std::string, std::string )
- * so users of xfirelib won't need this packet.
- */
- class ClientVersionPacket : public XFireSendPacketContent {
- public:
- XFirePacketContent* newPacket() { return new ClientVersionPacket(); }
-
- int getPacketId() { return 3; }
- int getPacketContent(char *buf);
- int getPacketAttributeCount();
- int getPacketSize() { return 1024; };
- void setProtocolVersion(int version);
- void parseContent(char *buf, int length, int numberOfAtts) { };
- private:
- int length;
- int version;
- };
+ /**
+ * (Internal) Packet used to send client version information.
+ * it is sent in Client::connect( std::string, std::string )
+ * so users of xfirelib won't need this packet.
+ */
+ class ClientVersionPacket : public XFireSendPacketContent {
+ public:
+ XFirePacketContent* newPacket() { return new ClientVersionPacket(); }
+
+ int getPacketId() { return 3; }
+ int getPacketContent(char *buf);
+ int getPacketAttributeCount();
+ int getPacketSize() { return 1024; }
+ void setProtocolVersion(int version);
+ void parseContent(char*, int, int) {}
+ private:
+ int length;
+ int version;
+ };
};