/* -*- C++ -*- * Copyright (C) 2001-2003, Christof Meerwald * http://JabXPCOM.sunsite.dk */ /* * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public License * as published by the Free Software Foundation; version 2 dated June, * 1991. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ #ifndef HEADER__JABXPCOM_IQ__INCLUDED #define HEADER__JABXPCOM_IQ__INCLUDED #include "jabxpcom-packet.h" #include "jabxpcom.h" #include class Jabber_ConstInfoQuery_Wrapper : public jabIConstInfoQuery, public Jabber_ConstPacket_Wrapper { public: NS_DECL_ISUPPORTS_INHERITED NS_DECL_JABICONSTINFOQUERY NS_FORWARD_JABICONSTPACKET(Jabber_ConstPacket_Wrapper::) explicit Jabber_ConstInfoQuery_Wrapper(const jabberoo::Packet *packet); virtual ~Jabber_ConstInfoQuery_Wrapper(); }; class Jabber_InfoQuery_Wrapper : public jabIInfoQuery, public Jabber_ConstInfoQuery_Wrapper { public: NS_DECL_ISUPPORTS_INHERITED NS_DECL_JABIINFOQUERY NS_FORWARD_JABICONSTPACKET(Jabber_ConstPacket_Wrapper::) NS_FORWARD_JABICONSTINFOQUERY(Jabber_ConstInfoQuery_Wrapper::) Jabber_InfoQuery_Wrapper(const char *jid, InfoQueryType iqtype); virtual ~Jabber_InfoQuery_Wrapper(); private: jabberoo::Packet packet_; Jabber_Packet_Wrapper packet_wrapper_; }; #endif