Home · Modules · All Classes · All Namespaces
cli-call-content-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/call-content.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 CallContentInterface::CallContentInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 CallContentInterface::CallContentInterface(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(StreamsAdded(const Tp::ObjectPathList&)), NULL, NULL);
28  disconnect(this, SIGNAL(StreamsRemoved(const Tp::ObjectPathList&, const Tp::CallStateReason&)), NULL, NULL);
29 
30  Tp::AbstractInterface::invalidate(proxy, error, message);
31 }
32 
33 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(const QString& busName, const QString& objectPath, QObject *parent)
34  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
35 {
36 }
37 
38 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(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 
62  Tp::AbstractInterface::invalidate(proxy, error, message);
63 }
64 
65 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const QString& busName, const QString& objectPath, QObject *parent)
66  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
67 {
68 }
69 
70 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
71  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
72 {
73 }
74 
76  : Tp::AbstractInterface(proxy, staticInterfaceName())
77 {
78 }
79 
81  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
82 {
83 }
84 
86  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
87 {
88 }
89 
91  const QString &error, const QString &message)
92 {
93  disconnect(this, SIGNAL(TonesDeferred(const QString&)), NULL, NULL);
94  disconnect(this, SIGNAL(SendingTones(const QString&)), NULL, NULL);
95  disconnect(this, SIGNAL(StoppedTones(bool)), NULL, NULL);
96 
97  Tp::AbstractInterface::invalidate(proxy, error, message);
98 }
99 
100 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const QString& busName, const QString& objectPath, QObject *parent)
101  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
102 {
103 }
104 
105 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
106  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
107 {
108 }
109 
111  : Tp::AbstractInterface(proxy, staticInterfaceName())
112 {
113 }
114 
116  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
117 {
118 }
119 
121  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
122 {
123 }
124 
126  const QString &error, const QString &message)
127 {
128  disconnect(this, SIGNAL(NewMediaDescriptionOffer(const QDBusObjectPath&, const QVariantMap&)), NULL, NULL);
129  disconnect(this, SIGNAL(MediaDescriptionOfferDone()), NULL, NULL);
130  disconnect(this, SIGNAL(LocalMediaDescriptionChanged(const QVariantMap&)), NULL, NULL);
131  disconnect(this, SIGNAL(RemoteMediaDescriptionsChanged(const Tp::ContactMediaDescriptionPropertiesMap&)), NULL, NULL);
132  disconnect(this, SIGNAL(MediaDescriptionsRemoved(const Tp::UIntList&)), NULL, NULL);
133  disconnect(this, SIGNAL(DTMFChangeRequested(uchar, uint)), NULL, NULL);
134 
135  Tp::AbstractInterface::invalidate(proxy, error, message);
136 }
137 
138 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const QString& busName, const QString& objectPath, QObject *parent)
139  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
140 {
141 }
142 
143 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
144  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
145 {
146 }
147 
149  : Tp::AbstractInterface(proxy, staticInterfaceName())
150 {
151 }
152 
154  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
155 {
156 }
157 
159  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
160 {
161 }
162 
164  const QString &error, const QString &message)
165 {
166  disconnect(this, SIGNAL(KeyFrameRequested()), NULL, NULL);
167  disconnect(this, SIGNAL(VideoResolutionChanged(const Tp::VideoResolution&)), NULL, NULL);
168  disconnect(this, SIGNAL(BitrateChanged(uint)), NULL, NULL);
169  disconnect(this, SIGNAL(FramerateChanged(uint)), NULL, NULL);
170  disconnect(this, SIGNAL(MTUChanged(uint)), NULL, NULL);
171 
172  Tp::AbstractInterface::invalidate(proxy, error, message);
173 }
174 }
175 }
void LocalMediaDescriptionChanged(const QVariantMap &updatedMediaDescription)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:125
Definition: build/TelepathyQt/_gen/types.h:109
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:24
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:90
Definition: build/TelepathyQt/_gen/types.h:1246
CallContentInterfaceVideoControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:138
Definition: build/TelepathyQt/_gen/types.h:3325
The AbstractInterface class is the base class for all client side D-Bus interfaces,...
Definition: abstract-interface.h:42
void StreamsRemoved(const Tp::ObjectPathList &streams, const Tp::CallStateReason &reason)
void NewMediaDescriptionOffer(const QDBusObjectPath &mediaDescription, const QVariantMap &properties)
void MediaDescriptionsRemoved(const Tp::UIntList &removedMediaDescriptions)
void VideoResolutionChanged(const Tp::VideoResolution &newResolution)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:163
void TonesDeferred(const QString &tones)
Definition: cli-call-content.h:44
void StreamsAdded(const Tp::ObjectPathList &streams)
Definition: build/TelepathyQt/_gen/types.h:85
Definition: build/TelepathyQt/_gen/types.h:336
CallContentInterfaceDTMFInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:65
void DTMFChangeRequested(uchar event, uint state)
void RemoteMediaDescriptionsChanged(const Tp::ContactMediaDescriptionPropertiesMap &updatedMediaDescriptions)
CallContentInterfaceAudioControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:33
CallContentInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:9
CallContentInterfaceMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:100
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
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:58