summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/messageackpacket.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/messageackpacket.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/messageackpacket.h')
-rw-r--r--protocols/Xfire/src/messageackpacket.h47
1 files changed, 21 insertions, 26 deletions
diff --git a/protocols/Xfire/src/messageackpacket.h b/protocols/Xfire/src/messageackpacket.h
index 35d0848fbd..a1bbfaaa5a 100644
--- a/protocols/Xfire/src/messageackpacket.h
+++ b/protocols/Xfire/src/messageackpacket.h
@@ -29,33 +29,28 @@
namespace xfirelib {
- /**
- * (Internal) Packet used to acknowledge a received message.
- * It is of no use to users of the library because it is already
- * sent by the Client.
- */
- class MessageACKPacket : public XFireSendPacketContent {
- public:
- MessageACKPacket();
- ~MessageACKPacket();
-
- XFirePacketContent* newPacket() { return new MessageACKPacket(); }
-
-
- int getPacketId() { return XFIRE_MESSAGE_ACK_ID; }
- int getPacketContent(char *buf);
- int getPacketAttributeCount() { return 2; }
- int getPacketSize() { return 1024; };
- void parseContent(char *buf, int length, int numberOfAtts);
-
- char sid[16];
- long imindex;
-
- private:
- };
-
+ /**
+ * (Internal) Packet used to acknowledge a received message.
+ * It is of no use to users of the library because it is already
+ * sent by the Client.
+ */
+ class MessageACKPacket : public XFireSendPacketContent {
+ public:
+ MessageACKPacket();
+ ~MessageACKPacket();
+
+ XFirePacketContent* newPacket() { return new MessageACKPacket(); }
+
+ int getPacketId() { return XFIRE_MESSAGE_ACK_ID; }
+ int getPacketContent(char *buf);
+ int getPacketAttributeCount() { return 2; }
+ int getPacketSize() { return 1024; };
+ void parseContent(char *buf, int length, int numberOfAtts);
+
+ char sid[16];
+ long imindex;
+ };
};
-
#endif