Home · Modules · All Classes · All Namespaces
cli-call-stream-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/call-stream.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 CallStreamInterface::CallStreamInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 CallStreamInterface::CallStreamInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
20  : Tp::AbstractInterface(proxy, staticInterfaceName())
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(RemoteMembersChanged(const Tp::ContactSendingStateMap&, const Tp::HandleIdentifierMap&, const Tp::UIntList&, const Tp::CallStateReason&)), NULL, NULL);
28  disconnect(this, SIGNAL(LocalSendingStateChanged(uint, const Tp::CallStateReason&)), NULL, NULL);
29 
30  Tp::AbstractInterface::invalidate(proxy, error, message);
31 }
32 
33 CallStreamInterfaceMediaInterface::CallStreamInterfaceMediaInterface(const QString& busName, const QString& objectPath, QObject *parent)
34  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
35 {
36 }
37 
38 CallStreamInterfaceMediaInterface::CallStreamInterfaceMediaInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
39  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
40 {
41 }
42 
44  : Tp::AbstractInterface(proxy, staticInterfaceName())
45 {
46 }
47 
49  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
50 {
51 }
52 
54  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
55 {
56 }
57 
59  const QString &error, const QString &message)
60 {
61  disconnect(this, SIGNAL(SendingStateChanged(uint)), NULL, NULL);
62  disconnect(this, SIGNAL(ReceivingStateChanged(uint)), NULL, NULL);
63  disconnect(this, SIGNAL(LocalCandidatesAdded(const Tp::CandidateList&)), NULL, NULL);
64  disconnect(this, SIGNAL(LocalCredentialsChanged(const QString&, const QString&)), NULL, NULL);
65  disconnect(this, SIGNAL(RelayInfoChanged(const Tp::StringVariantMapList&)), NULL, NULL);
66  disconnect(this, SIGNAL(STUNServersChanged(const Tp::SocketAddressIPList&)), NULL, NULL);
67  disconnect(this, SIGNAL(ServerInfoRetrieved()), NULL, NULL);
68  disconnect(this, SIGNAL(EndpointsChanged(const Tp::ObjectPathList&, const Tp::ObjectPathList&)), NULL, NULL);
69  disconnect(this, SIGNAL(ICERestartRequested()), NULL, NULL);
70 
71  Tp::AbstractInterface::invalidate(proxy, error, message);
72 }
73 }
74 }
QList< StringVariantMap > StringVariantMapList
Definition: build/TelepathyQt/_gen/types.h:3133
Definition: build/TelepathyQt/_gen/types.h:109
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
void STUNServersChanged(const Tp::SocketAddressIPList &servers)
Definition: cli-call-stream.h:44
Definition: build/TelepathyQt/_gen/types.h:1313
CallStreamInterfaceMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-stream-body.hpp:33
The AbstractInterface class is the base class for all client side D-Bus interfaces,...
Definition: abstract-interface.h:42
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-stream-body.hpp:24
CallStreamInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-stream-body.hpp:9
void LocalSendingStateChanged(uint state, const Tp::CallStateReason &reason)
void RelayInfoChanged(const Tp::StringVariantMapList &relayInfo)
QList< Candidate > CandidateList
Definition: build/TelepathyQt/_gen/types.h:429
Definition: build/TelepathyQt/_gen/types.h:85
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-stream-body.hpp:58
Definition: build/TelepathyQt/_gen/types.h:336
void RemoteMembersChanged(const Tp::ContactSendingStateMap &updates, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)
void LocalCandidatesAdded(const Tp::CandidateList &candidates)
Definition: build/TelepathyQt/_gen/types.h:1677
void LocalCredentialsChanged(const QString &username, const QString &password)
QList< SocketAddressIP > SocketAddressIPList
Definition: build/TelepathyQt/_gen/types.h:2920
void EndpointsChanged(const Tp::ObjectPathList &endpointsAdded, const Tp::ObjectPathList &endpointsRemoved)
Definition: abstract-adaptor.cpp:31
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42