summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/buddylistonlinepacket.h
diff options
context:
space:
mode:
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;
+ };
};