00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef ADDCONTACTREQUEST_H
00019 #define ADDCONTACTREQUEST_H
00020
00021 #include <string>
00022 #include <Message/request.h>
00023
00024 class XMLWriter;
00025
00026 using namespace std;
00027
00033 class AddContactRequest : public Request
00034 {
00035 public:
00040 AddContactRequest(const std::string& sContactName);
00041
00045 ~AddContactRequest();
00046
00051 void setPseudo(const std::string& sContactName) { m_sContactName = sContactName; }
00052
00057 std::string getContactName() const { return m_sContactName; }
00058
00063 void toXMLExt(XMLWriter& writer) const;
00068 string toString() const;
00069
00072 AddContactRequest& copy() const;
00073
00074 private:
00078 std::string m_sContactName;
00079
00080 };
00081
00082 #endif