Slightly improve bytestreams management
[iris.git] / src / xmpp / xmpp-im / xmpp_roster.h
blobb15179399ab5ab12963f86ddab027197e1ee4396
1 /*
2 * Copyright (C) 2003 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_ROSTER_H
21 #define XMPP_ROSTER_H
23 #include <QList>
25 #include "xmpp_rosteritem.h"
27 class QDomDocument;
28 class QDomElement;
30 namespace XMPP
32 class Jid;
33 class Roster : public QList<RosterItem>
35 public:
36 Roster();
37 ~Roster();
39 Roster::Iterator find(const Jid &);
40 Roster::ConstIterator find(const Jid &) const;
42 private:
43 class RosterPrivate *d;
47 #endif