From c4a6e257a326ba4baa95a87418208abaddf26b38 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Wed, 21 Jul 2010 13:14:02 +0000 Subject: add stub for call management example --- example/example_4_callHandling/xmppClient.h | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 example/example_4_callHandling/xmppClient.h (limited to 'example/example_4_callHandling/xmppClient.h') 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 -- cgit v1.2.3