source: psi/trunk/src/discodlg.h@ 143

Last change on this file since 143 was 2, checked in by dmik, 19 years ago

Imported original Psi 0.10 sources from Affinix

File size: 1.3 KB
Line 
1/*
2 * discodlg.h - main dialog for the Service Discovery protocol
3 * Copyright (C) 2003 Michail Pishchagin
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 */
20
21#ifndef DISCODLG_H
22#define DISCODLG_H
23
24#include "ui_disco.h"
25
26class PsiAccount;
27
28#include "xmpp.h"
29using namespace XMPP;
30
31class DiscoDlg : public DiscoUI
32{
33 Q_OBJECT
34public:
35 DiscoDlg(PsiAccount *, const Jid &, const QString &node = QString::null);
36 ~DiscoDlg();
37
38 void doDisco(QString host = QString::null, QString node = QString::null);
39
40signals:
41 void featureActivated(QString feature, Jid jid, QString node);
42
43public:
44 class Private;
45 friend class Private;
46private:
47 Private *d;
48};
49
50
51#endif
52
Note: See TracBrowser for help on using the repository browser.