delcontactanswer.h

00001 /***************************************************************************
00002                           delcontactanswer.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 DELCONTACTANSWER_H
00020 #define DELCONTACTANSWER_H
00021 
00022 #include <Message/answer.h>
00023 
00029 class DelContactAnswer : public Answer
00030 {
00031 public:
00037   DelContactAnswer(const bool bValue, const std::string& sDescription, int iContactID);
00038 
00042   DelContactAnswer(const bool bValue = false);
00043 
00045   ~DelContactAnswer();
00046 
00049   void setContactID(const int contactID)  { m_iContactID = contactID; }
00050 
00052   int getContactID() const { return m_iContactID; }
00053 
00055   void processMessage() const;
00056 
00060   std::string toString() const;
00061 
00064   DelContactAnswer& copy() const;
00065 
00066 private: //private members
00068   int m_iContactID;
00069 };
00070 
00071 #endif

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