summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/sendtypingpacket.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/sendtypingpacket.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/sendtypingpacket.h')
-rw-r--r--protocols/Xfire/src/sendtypingpacket.h68
1 files changed, 32 insertions, 36 deletions
diff --git a/protocols/Xfire/src/sendtypingpacket.h b/protocols/Xfire/src/sendtypingpacket.h
index d3226f3a0e..0ba3637a47 100644
--- a/protocols/Xfire/src/sendtypingpacket.h
+++ b/protocols/Xfire/src/sendtypingpacket.h
@@ -31,8 +31,6 @@
#ifndef __SENDTYPINGPACKET_H
#define __SENDTYPINGPACKET_H
-
-
#include "xfiresendpacketcontent.h"
#include "variablevalue.h"
#include <string.h>
@@ -40,40 +38,38 @@
namespace xfirelib {
-class SendTypingPacket : public XFireSendPacketContent {
-public:
-SendTypingPacket() {
-imindex = 0;
-}
-virtual ~SendTypingPacket() { }
-
-void init(Client *client, string username);
-void setSid(const char *sid);
-
-XFirePacketContent* newPacket() { return new SendTypingPacket(); }
-
-int getPacketId() { return 2; }
-int getPacketContent(char *buf);
-int getPacketAttributeCount() {return 2;};
-int getPacketSize() { return 1024; };
-
-/**
-* SID of the user to who the message should be sent.
-*/
-char sid[16];
-/**
-* A running counter for each buddy. (will be initialized to 0 by default.. and..
-* shouldn't be a problem to leave it 0)
-*/
-long imindex;
-
-protected:
-void initIMIndex();
-
-static std::map<std::string,int> imindexes;
-
-};
-
+ class SendTypingPacket : public XFireSendPacketContent {
+ public:
+ SendTypingPacket() {
+ imindex = 0;
+ }
+ virtual ~SendTypingPacket() { }
+
+ void init(Client *client, string username);
+ void setSid(const char *sid);
+
+ XFirePacketContent* newPacket() { return new SendTypingPacket(); }
+
+ int getPacketId() { return 2; }
+ int getPacketContent(char *buf);
+ int getPacketAttributeCount() {return 2;};
+ int getPacketSize() { return 1024; };
+
+ /**
+ * SID of the user to who the message should be sent.
+ */
+ char sid[16];
+ /**
+ * A running counter for each buddy. (will be initialized to 0 by default.. and..
+ * shouldn't be a problem to leave it 0)
+ */
+ long imindex;
+
+ protected:
+ void initIMIndex();
+
+ static std::map<std::string,int> imindexes;
+ };
};
#endif \ No newline at end of file