2
* Copyright (C) 2001, 2002 Justin Karneges
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
#ifndef XMPP_DISCOINFOTASK_H
21
#define XMPP_DISCOINFOTASK_H
23
#include "xmpp_task.h"
24
#include "xmpp_discoitem.h"
34
class DiscoInfoTask : public Task
38
DiscoInfoTask(Task *);
41
void get(const Jid &, const QString &node = QString::null, const DiscoItem::Identity = DiscoItem::Identity());
42
void get(const DiscoItem &);
44
const DiscoItem &item() const;
45
const Jid& jid() const;
46
const QString& node() const;
49
bool take(const QDomElement &);
57
typedef DiscoInfoTask JT_DiscoInfo;