cli-call-content-body.hpp Source File

| Home · All Classes · All Namespaces · Modules · Functions · Files

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
19 CallContentInterface::CallContentInterface(Tp::DBusProxy *proxy)
20 : Tp::AbstractInterface(proxy, staticInterfaceName())
21 {
22 }
23
24 void CallContentInterface::invalidate(Tp::DBusProxy *proxy,
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
43 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(Tp::DBusProxy *proxy)
44 : Tp::AbstractInterface(proxy, staticInterfaceName())
45 {
46 }
47
48 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(const Tp::Client::CallContentInterface& mainInterface)
49 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
50 {
51 }
52
53 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(const Tp::Client::CallContentInterface& mainInterface, QObject *parent)
54 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
55 {
56 }
57
58 void CallContentInterfaceAudioControlInterface::invalidate(Tp::DBusProxy *proxy,
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
75 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(Tp::DBusProxy *proxy)
76 : Tp::AbstractInterface(proxy, staticInterfaceName())
77 {
78 }
79
80 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const Tp::Client::CallContentInterface& mainInterface)
81 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
82 {
83 }
84
85 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const Tp::Client::CallContentInterface& mainInterface, QObject *parent)
86 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
87 {
88 }
89
90 void CallContentInterfaceDTMFInterface::invalidate(Tp::DBusProxy *proxy,
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
110 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(Tp::DBusProxy *proxy)
111 : Tp::AbstractInterface(proxy, staticInterfaceName())
112 {
113 }
114
115 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const Tp::Client::CallContentInterface& mainInterface)
116 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
117 {
118 }
119
120 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const Tp::Client::CallContentInterface& mainInterface, QObject *parent)
121 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
122 {
123 }
124
125 void CallContentInterfaceMediaInterface::invalidate(Tp::DBusProxy *proxy,
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
148 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(Tp::DBusProxy *proxy)
149 : Tp::AbstractInterface(proxy, staticInterfaceName())
150 {
151 }
152
153 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const Tp::Client::CallContentInterface& mainInterface)
154 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
155 {
156 }
157
158 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const Tp::Client::CallContentInterface& mainInterface, QObject *parent)
159 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
160 {
161 }
162
163 void CallContentInterfaceVideoControlInterface::invalidate(Tp::DBusProxy *proxy,
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 }
Tp::Client::CallContentInterfaceVideoControlInterface::FramerateChanged
void FramerateChanged(uint newFramerate)
Tp::DBusProxy
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
Tp::Client::CallContentInterfaceVideoControlInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:163
Tp::Client::CallContentInterfaceMediaInterface::MediaDescriptionOfferDone
void MediaDescriptionOfferDone()
Tp::Client::CallContentInterfaceVideoControlInterface::VideoResolutionChanged
void VideoResolutionChanged(const Tp::VideoResolution &newResolution)
Tp::Client::CallContentInterfaceMediaInterface::RemoteMediaDescriptionsChanged
void RemoteMediaDescriptionsChanged(const Tp::ContactMediaDescriptionPropertiesMap &updatedMediaDescriptions)
Tp::Client::CallContentInterfaceMediaInterface::NewMediaDescriptionOffer
void NewMediaDescriptionOffer(const QDBusObjectPath &mediaDescription, const QVariantMap &properties)
Tp::Client::CallContentInterfaceDTMFInterface::StoppedTones
void StoppedTones(bool cancelled)
Tp::Client::CallContentInterfaceDTMFInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:90
Tp::CallStateReason
Definition: build/TelepathyQt/_gen/types.h:320
Tp::Client::CallContentInterface
Definition: cli-call-content.h:44
Tp::AbstractInterface
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
Tp::VideoResolution
Definition: build/TelepathyQt/_gen/types.h:3277
Tp::Client::CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface
CallContentInterfaceDTMFInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:65
Tp::UIntList
Definition: build/TelepathyQt/_gen/types.h:101
Tp::Client::CallContentInterfaceVideoControlInterface::KeyFrameRequested
void KeyFrameRequested()
Tp::Client::CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface
CallContentInterfaceVideoControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:138
Tp::Client::CallContentInterface::CallContentInterface
CallContentInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:9
Tp::Client::CallContentInterfaceMediaInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:125
Tp::Client::CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface
CallContentInterfaceMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:100
Tp::AbstractInterface::invalidate
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
Tp::ObjectPathList
Definition: build/TelepathyQt/_gen/types.h:81
Tp::Client::CallContentInterfaceVideoControlInterface::MTUChanged
void MTUChanged(uint newMTU)
Tp::Client::CallContentInterfaceDTMFInterface::TonesDeferred
void TonesDeferred(const QString &tones)
Tp::Client::CallContentInterface::StreamsRemoved
void StreamsRemoved(const Tp::ObjectPathList &streams, const Tp::CallStateReason &reason)
Tp::Client::CallContentInterfaceMediaInterface::DTMFChangeRequested
void DTMFChangeRequested(uchar event, uint state)
Tp::ContactMediaDescriptionPropertiesMap
Definition: build/TelepathyQt/_gen/types.h:1220
Tp::Client::CallContentInterfaceVideoControlInterface::BitrateChanged
void BitrateChanged(uint newBitrate)
Tp::Client::CallContentInterfaceAudioControlInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:58
Tp::Client::CallContentInterface::StreamsAdded
void StreamsAdded(const Tp::ObjectPathList &streams)
Tp::Client::CallContentInterfaceMediaInterface::MediaDescriptionsRemoved
void MediaDescriptionsRemoved(const Tp::UIntList &removedMediaDescriptions)
Tp::Client::CallContentInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:24
Tp::Client::CallContentInterfaceDTMFInterface::SendingTones
void SendingTones(const QString &tones)
Tp::Client::CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface
CallContentInterfaceAudioControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:33
Tp::Client::CallContentInterfaceMediaInterface::LocalMediaDescriptionChanged
void LocalMediaDescriptionChanged(const QVariantMap &updatedMediaDescription)