diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-21 13:14:02 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-21 13:14:02 +0000 |
| commit | c4a6e257a326ba4baa95a87418208abaddf26b38 (patch) | |
| tree | 9adfb6a9dcf298e11361f623cdb17253f439841f /example/example_4_callHandling/xmppClient.h | |
| parent | 39330dc24699eb032df4286ab838f8fec18f5338 (diff) | |
| download | qxmpp-c4a6e257a326ba4baa95a87418208abaddf26b38.tar.gz | |
add stub for call management example
Diffstat (limited to 'example/example_4_callHandling/xmppClient.h')
| -rw-r--r-- | example/example_4_callHandling/xmppClient.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/example/example_4_callHandling/xmppClient.h b/example/example_4_callHandling/xmppClient.h new file mode 100644 index 00000000..eba0602d --- /dev/null +++ b/example/example_4_callHandling/xmppClient.h @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2008-2009 QXmpp Developers + * + * Author: + * Ian Reinhart Geiser + * + * Source: + * http://code.google.com/p/qxmpp + * + * This file is a part of QXmpp library. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * 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. + * + */ + + +#ifndef XMPPCLIENT_H +#define XMPPCLIENT_H + +#include "QXmppClient.h" +#include "QXmppCallManager.h" + +class QBuffer; + +class xmppClient : public QXmppClient +{ + Q_OBJECT + +public: + xmppClient(QObject *parent = 0); + +private slots: + void slotCallReceived(QXmppCall *call); + void slotConnected(); + void slotFinished(); + void slotPresenceReceived(const QXmppPresence &presence); +}; + +#endif // IBBCLIENT_H |
