delcontactrequest.h

00001 /***************************************************************************
00002                           delcontactrequest.h  -  description
00003                              -------------------
00004     begin                : mar avr 11 2006
00005     copyright            : (C) 2006 by Sylvain Archenault <sylvain.archenault@laposte.net>
00006                                        Yves Houpert <yves.houpert@insa-rouen.fr>
00007     
00008  ***************************************************************************/
00009 
00010 /***************************************************************************
00011  *                                                                         *
00012  *   This program is free software; you can redistribute it and/or modify  *
00013  *   it under the terms of the GNU General Public License as published by  *
00014  *   the Free Software Foundation; either version 2 of the License, or     *
00015  *   (at your option) any later version.                                   *
00016  *                                                                         *
00017  ***************************************************************************/
00018 
00019 #ifndef DELCONTACTREQUEST_H
00020 #define DELCONTACTREQUEST_H
00021 
00022 #include <string>
00023 #include <Message/request.h>
00024 
00025 class XMLWriter;
00026 
00027 using namespace std;
00028 
00034 class DelContactRequest : public Request
00035 {
00036 public:
00040   DelContactRequest(const int iContactID = -1);
00041 
00043   ~DelContactRequest();
00044 
00048   void setContactID(const int iContactID) { m_iContactID = iContactID; }
00049 
00052   int getContactID() const { return m_iContactID; }
00053 
00057   void toXMLExt(XMLWriter& writer) const;
00058 
00062   string toString() const;
00063 
00066   DelContactRequest& copy() const;
00067 
00068 private: //private members
00070   int m_iContactID;
00071 
00072 };
00073 
00074 #endif

Generated on Fri May 19 12:15:54 2006 for Bamboo Ch@t by  doxygen 1.4.6