diff options
Diffstat (limited to 'protocols/Xfire/src/inviterequestpacket.h')
-rw-r--r-- | protocols/Xfire/src/inviterequestpacket.h | 47 |
1 files changed, 21 insertions, 26 deletions
diff --git a/protocols/Xfire/src/inviterequestpacket.h b/protocols/Xfire/src/inviterequestpacket.h index 5f8bac43cb..d5741b4c55 100644 --- a/protocols/Xfire/src/inviterequestpacket.h +++ b/protocols/Xfire/src/inviterequestpacket.h @@ -23,38 +23,33 @@ #ifndef __INVITEREQUESTPACKET_H #define __INVITEREQUESTPACKET_H -#include <string> #include "xfirerecvpacketcontent.h" #define XFIRE_PACKET_INVITE_REQUEST_PACKET 138 namespace xfirelib { - using namespace std; - - /** - * Received when someone invites you to his buddylist - * (For sending invitations see InviteBuddyPacket) - */ - class InviteRequestPacket : public XFireRecvPacketContent { - public: - XFirePacketContent* newPacket() { return new InviteRequestPacket(); } - - - int getPacketId() { return XFIRE_PACKET_INVITE_REQUEST_PACKET; } - int getPacketContent(char *buf) { return 0;} - int getPacketAttributeCount() { return 3; }; - int getPacketSize() { return 1024; }; - void parseContent(char *buf, int length, int numberOfAtts); - - string name; - string nick; - string msg; - - private: - }; - + using namespace std; + + /** + * Received when someone invites you to his buddylist + * (For sending invitations see InviteBuddyPacket) + */ + class InviteRequestPacket : public XFireRecvPacketContent { + public: + XFirePacketContent* newPacket() { return new InviteRequestPacket(); } + + + int getPacketId() { return XFIRE_PACKET_INVITE_REQUEST_PACKET; } + int getPacketContent(char*) { return 0; } + int getPacketAttributeCount() { return 3; }; + int getPacketSize() { return 1024; }; + void parseContent(char *buf, int length, int numberOfAtts); + + string name; + string nick; + string msg; + }; }; - #endif |