summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/friendsoffriendlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/friendsoffriendlist.h')
-rw-r--r--protocols/Xfire/src/friendsoffriendlist.h40
1 files changed, 18 insertions, 22 deletions
diff --git a/protocols/Xfire/src/friendsoffriendlist.h b/protocols/Xfire/src/friendsoffriendlist.h
index 70c59a76e9..6e645e81c3 100644
--- a/protocols/Xfire/src/friendsoffriendlist.h
+++ b/protocols/Xfire/src/friendsoffriendlist.h
@@ -27,37 +27,33 @@
#define XFIRE_FRIENDS_BUDDYS_NAMES_ID 0x88
-#include <vector>
-#include <string>
-
#include "xfirerecvpacketcontent.h"
#include "variablevalue.h"
-
namespace xfirelib {
- using namespace std;
+ using namespace std;
- class FriendsBuddyListNamesPacket : public XFireRecvPacketContent {
- public:
- FriendsBuddyListNamesPacket();
- virtual ~FriendsBuddyListNamesPacket();
+ class FriendsBuddyListNamesPacket : public XFireRecvPacketContent {
+ public:
+ FriendsBuddyListNamesPacket();
+ virtual ~FriendsBuddyListNamesPacket();
- XFirePacketContent* newPacket() { return new FriendsBuddyListNamesPacket(); }
+ XFirePacketContent* newPacket() { return new FriendsBuddyListNamesPacket(); }
- int getPacketId() { return XFIRE_FRIENDS_BUDDYS_NAMES_ID; }
- int getPacketContent(char *buf) { return 0; }
- int getPacketAttributeCount() { return 0; };
- int getPacketSize() { return 10024; };
- void parseContent(char *buf, int length, int numberOfAtts);
+ int getPacketId() { return XFIRE_FRIENDS_BUDDYS_NAMES_ID; }
+ int getPacketContent(char*) { return 0; }
+ int getPacketAttributeCount() { return 0; };
+ int getPacketSize() { return 10024; };
+ 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> *nicks;
- vector<long> *userids;
- vector<char *> *sids;
- };
+ vector<string> *usernames;
+ vector<string> *nicks;
+ vector<long> *userids;
+ vector<char *> *sids;
+ };
};