diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:33:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:33:42 +0000 |
commit | 85bd008c039eb1d93894e94fba9d158a42a71a12 (patch) | |
tree | 2d72d10759f6928e9e4b960175d2de01b5cf7e12 /protocols/Xfire/src/xfirefoundbuddys.h | |
parent | 222802c2986dcaf029fdfb828b7679bdabfa7bb2 (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/xfirefoundbuddys.h')
-rw-r--r-- | protocols/Xfire/src/xfirefoundbuddys.h | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/protocols/Xfire/src/xfirefoundbuddys.h b/protocols/Xfire/src/xfirefoundbuddys.h index 70d44f201b..c51152d8f5 100644 --- a/protocols/Xfire/src/xfirefoundbuddys.h +++ b/protocols/Xfire/src/xfirefoundbuddys.h @@ -29,37 +29,32 @@ #define XFIRE_FOUNDBUDDYS_ID 0x8f -#include <vector> -#include <string> - #include "xfirerecvpacketcontent.h" #include "variablevalue.h" - namespace xfirelib { - using namespace std; + using namespace std; - class XFireFoundBuddys : public XFireRecvPacketContent { - public: - XFireFoundBuddys(); - virtual ~XFireFoundBuddys(); + class XFireFoundBuddys : public XFireRecvPacketContent { + public: + XFireFoundBuddys(); + virtual ~XFireFoundBuddys(); - XFirePacketContent* newPacket() { return new XFireFoundBuddys(); } + XFirePacketContent* newPacket() { return new XFireFoundBuddys(); } - int getPacketId() { return XFIRE_FOUNDBUDDYS_ID; } - int getPacketContent(char *buf) { return 0; } - int getPacketAttributeCount() { return 0; }; - int getPacketSize() { return 1024; }; - void parseContent(char *buf, int length, int numberOfAtts); + int getPacketId() { return XFIRE_FOUNDBUDDYS_ID; } + int getPacketContent(char*) { return 0; } + int getPacketAttributeCount() { return 0; }; + int getPacketSize() { return 1024; }; + void parseContent(char *buf, int length, int numberOfAtts); - //private: - int readStrings(vector<string> *strings, char *buf, int index); + //private: + int readStrings(vector<string> *strings, char *buf, int index); - vector<string> *usernames; - vector<string> *fname; - vector<string> *lname; - }; + vector<string> *usernames; + vector<string> *fname; + vector<string> *lname; + }; }; - #endif |