00001 #define IN_TP_QT_HEADER
00002 #include "TelepathyQt/call-content.h"
00003
00004 namespace Tp
00005 {
00006 namespace Client
00007 {
00008
00009 CallContentInterface::CallContentInterface(const QString& busName, const QString& objectPath, QObject *parent)
00010 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00011 {
00012 }
00013
00014 CallContentInterface::CallContentInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00015 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00016 {
00017 }
00018
00019 CallContentInterface::CallContentInterface(Tp::DBusProxy *proxy)
00020 : Tp::AbstractInterface(proxy, staticInterfaceName())
00021 {
00022 }
00023
00024 void CallContentInterface::invalidate(Tp::DBusProxy *proxy,
00025 const QString &error, const QString &message)
00026 {
00027 disconnect(this, SIGNAL(StreamsAdded(const Tp::ObjectPathList&)), NULL, NULL);
00028 disconnect(this, SIGNAL(StreamsRemoved(const Tp::ObjectPathList&, const Tp::CallStateReason&)), NULL, NULL);
00029
00030 Tp::AbstractInterface::invalidate(proxy, error, message);
00031 }
00032
00033 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(const QString& busName, const QString& objectPath, QObject *parent)
00034 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00035 {
00036 }
00037
00038 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00039 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00040 {
00041 }
00042
00043 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(Tp::DBusProxy *proxy)
00044 : Tp::AbstractInterface(proxy, staticInterfaceName())
00045 {
00046 }
00047
00048 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(const Tp::Client::CallContentInterface& mainInterface)
00049 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00050 {
00051 }
00052
00053 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(const Tp::Client::CallContentInterface& mainInterface, QObject *parent)
00054 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00055 {
00056 }
00057
00058 void CallContentInterfaceAudioControlInterface::invalidate(Tp::DBusProxy *proxy,
00059 const QString &error, const QString &message)
00060 {
00061
00062 Tp::AbstractInterface::invalidate(proxy, error, message);
00063 }
00064
00065 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const QString& busName, const QString& objectPath, QObject *parent)
00066 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00067 {
00068 }
00069
00070 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00071 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00072 {
00073 }
00074
00075 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(Tp::DBusProxy *proxy)
00076 : Tp::AbstractInterface(proxy, staticInterfaceName())
00077 {
00078 }
00079
00080 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const Tp::Client::CallContentInterface& mainInterface)
00081 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00082 {
00083 }
00084
00085 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const Tp::Client::CallContentInterface& mainInterface, QObject *parent)
00086 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00087 {
00088 }
00089
00090 void CallContentInterfaceDTMFInterface::invalidate(Tp::DBusProxy *proxy,
00091 const QString &error, const QString &message)
00092 {
00093 disconnect(this, SIGNAL(TonesDeferred(const QString&)), NULL, NULL);
00094 disconnect(this, SIGNAL(SendingTones(const QString&)), NULL, NULL);
00095 disconnect(this, SIGNAL(StoppedTones(bool)), NULL, NULL);
00096
00097 Tp::AbstractInterface::invalidate(proxy, error, message);
00098 }
00099
00100 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const QString& busName, const QString& objectPath, QObject *parent)
00101 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00102 {
00103 }
00104
00105 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00106 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00107 {
00108 }
00109
00110 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(Tp::DBusProxy *proxy)
00111 : Tp::AbstractInterface(proxy, staticInterfaceName())
00112 {
00113 }
00114
00115 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const Tp::Client::CallContentInterface& mainInterface)
00116 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00117 {
00118 }
00119
00120 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const Tp::Client::CallContentInterface& mainInterface, QObject *parent)
00121 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00122 {
00123 }
00124
00125 void CallContentInterfaceMediaInterface::invalidate(Tp::DBusProxy *proxy,
00126 const QString &error, const QString &message)
00127 {
00128 disconnect(this, SIGNAL(NewMediaDescriptionOffer(const QDBusObjectPath&, const QVariantMap&)), NULL, NULL);
00129 disconnect(this, SIGNAL(MediaDescriptionOfferDone()), NULL, NULL);
00130 disconnect(this, SIGNAL(LocalMediaDescriptionChanged(const QVariantMap&)), NULL, NULL);
00131 disconnect(this, SIGNAL(RemoteMediaDescriptionsChanged(const Tp::ContactMediaDescriptionPropertiesMap&)), NULL, NULL);
00132 disconnect(this, SIGNAL(MediaDescriptionsRemoved(const Tp::UIntList&)), NULL, NULL);
00133 disconnect(this, SIGNAL(DTMFChangeRequested(uchar, uint)), NULL, NULL);
00134
00135 Tp::AbstractInterface::invalidate(proxy, error, message);
00136 }
00137
00138 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const QString& busName, const QString& objectPath, QObject *parent)
00139 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00140 {
00141 }
00142
00143 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00144 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00145 {
00146 }
00147
00148 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(Tp::DBusProxy *proxy)
00149 : Tp::AbstractInterface(proxy, staticInterfaceName())
00150 {
00151 }
00152
00153 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const Tp::Client::CallContentInterface& mainInterface)
00154 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00155 {
00156 }
00157
00158 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const Tp::Client::CallContentInterface& mainInterface, QObject *parent)
00159 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00160 {
00161 }
00162
00163 void CallContentInterfaceVideoControlInterface::invalidate(Tp::DBusProxy *proxy,
00164 const QString &error, const QString &message)
00165 {
00166 disconnect(this, SIGNAL(KeyFrameRequested()), NULL, NULL);
00167 disconnect(this, SIGNAL(VideoResolutionChanged(const Tp::VideoResolution&)), NULL, NULL);
00168 disconnect(this, SIGNAL(BitrateChanged(uint)), NULL, NULL);
00169 disconnect(this, SIGNAL(FramerateChanged(uint)), NULL, NULL);
00170 disconnect(this, SIGNAL(MTUChanged(uint)), NULL, NULL);
00171
00172 Tp::AbstractInterface::invalidate(proxy, error, message);
00173 }
00174 }
00175 }