3 @author: Sudheer K. <scifi1947 at gmail.com>
4 @license: GNU General Public License
6 Based on Telepathy-SNOM with copyright notice below.
10 * Telepathy SNOM VoIP phone connection manager
11 * Copyright (C) 2006 by basyskom GmbH
12 * @author Tobias Hunger <info@basyskom.de>
14 * This library is free software; you can redisQObject::tribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License version 2.1 as published by the Free Software Foundation.
18 * This library is disQObject::tributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the
25 * Free Software Foundation, Inc.,
26 * 51 Franklin SQObject::treet, Fifth Floor, Boston, MA 02110-1301 USA
29 #ifndef _VICAR_CONNECTIONMANAGER_H_
30 #define _VICAR_CONNECTIONMANAGER_H_
32 #include "connectionmanagertypes.h"
33 #include <QtDBus/QDBusContext>
34 #include <QtDBus/QtDBus>
36 class ConnectionManagerPrivate;
38 class ConnectionManager : public QObject
41 Q_DECLARE_PRIVATE(ConnectionManager)
44 explicit ConnectionManager(QObject * parent = 0);
56 org::freedesktop::Telepathy::ParameterDefinitionList
57 GetParameters(const QString &proto);
59 QStringList ListProtocols();
61 QString RequestConnection(const QString &proto, QVariantMap parameters,
62 QDBusObjectPath &object_path);
65 void NewConnection(const QString &bus_name,
66 const QDBusObjectPath &object_path,
67 const QString &proto);
70 ConnectionManager(const ConnectionManager &); // no impl.
72 ConnectionManagerPrivate * const d;