summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/buddylistonlinepacket.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/buddylistonlinepacket.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/buddylistonlinepacket.h')
-rw-r--r--protocols/Xfire/src/buddylistonlinepacket.h26
1 files changed, 12 insertions, 14 deletions
diff --git a/protocols/Xfire/src/buddylistonlinepacket.h b/protocols/Xfire/src/buddylistonlinepacket.h
index 1f9b432b63..038ea8db46 100644
--- a/protocols/Xfire/src/buddylistonlinepacket.h
+++ b/protocols/Xfire/src/buddylistonlinepacket.h
@@ -23,8 +23,6 @@
#ifndef __BUDDYLISTONLINEPACKET_H
#define __BUDDYLISTONLINEPACKET_H
-#include <vector>
-
#include "xfirerecvpacketcontent.h"
#include "variablevalue.h"
@@ -32,21 +30,21 @@
#define XFIRE_BUDDYS_ONLINE_ID 132
namespace xfirelib {
-using namespace std;
- class BuddyListOnlinePacket : public XFireRecvPacketContent {
- public:
- XFirePacketContent* newPacket() { return new BuddyListOnlinePacket(); }
+ using namespace std;
+ class BuddyListOnlinePacket : public XFireRecvPacketContent {
+ public:
+ XFirePacketContent* newPacket() { return new BuddyListOnlinePacket(); }
- int getPacketId() { return XFIRE_BUDDYS_ONLINE_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_BUDDYS_ONLINE_ID; }
+ int getPacketContent(char*) { return 0; }
+ int getPacketAttributeCount() { return 0; };
+ int getPacketSize() { return 1024; };
+ void parseContent(char *buf, int length, int numberOfAtts);
- vector<long> *userids;
- vector<char *> *sids;
- };
+ vector<long> *userids;
+ vector<char *> *sids;
+ };
};