Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

XCP.hh

00001 // XCP.hh
00002 // Jabber client library
00003 //
00004 // Original Code Copyright (C) 1999-2001 Dave Smith (dave@jabber.org)
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License, or (at your option) any later version.
00010 // 
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 // 
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019 //
00020 // Contributor(s): Julian Missig
00021 //
00022 // This Original Code has been modified by IBM Corporation. Modifications 
00023 // made by IBM described herein are Copyright (c) International Business 
00024 // Machines Corporation, 2002.
00025 //
00026 // Date             Modified by     Description of modification
00027 // 01/20/2002       IBM Corp.       Updated to libjudo 1.1.1
00028 // 2002-03-05       IBM Corp.       Updated to libjudo 1.1.5
00029 // 2002-07-09       IBM Corp.       Added Roster::getSession()
00030 //
00031 
00032 #ifndef XCP_HH
00033 #define XCP_HH
00034 
00035 #include <string> 
00036 
00037 namespace jabberoo
00038 {
00039     class XCP 
00040     {
00041     public:
00042         const std::string& getMessage() const;
00043         XCP(const char* msg);
00044         XCP();
00045     private: 
00046         std::basic_string<char> _msg;
00047     };
00048 
00049     class XCP_NotImplemented : public XCP 
00050     {
00051     public:
00052          XCP_NotImplemented( const char * msg );
00053     };
00054 
00055     class XCP_NotCached : public XCP{};
00056 } // namespace jabberoo
00057 
00058 #endif // XCP_HH 1

Generated on Thu Jul 24 13:31:51 2003 for jabberoo by doxygen1.3-rc3