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

cli-call-content-media-description.h
1 /*
2 * This file contains D-Bus client proxy classes generated by qt-client-gen.py.
3 *
4 * This file can be distributed under the same terms as the specification from
5 * which it was generated.
6 */
7
8 #ifndef IN_TP_QT_HEADER
9 #error IN_TP_QT_HEADER
10 #endif
11
12 #include <TelepathyQt/Types>
13
14 #include <QtGlobal>
15
16 #include <QString>
17 #include <QObject>
18 #include <QVariant>
19
20 #include <QDBusPendingReply>
21
22 #include <TelepathyQt/AbstractInterface>
23 #include <TelepathyQt/DBusProxy>
24 #include <TelepathyQt/Global>
25
26 namespace Tp
27 {
28 class PendingVariant;
29 class PendingOperation;
30 }
31
32 namespace Tp
33 {
34 namespace Client
35 {
36
44 class TP_QT_EXPORT CallContentMediaDescriptionInterface : public Tp::AbstractInterface
45 {
46 Q_OBJECT
47
48 public:
55 static inline QLatin1String staticInterfaceName()
56 {
57 return QLatin1String("org.freedesktop.Telepathy.Call1.Content.MediaDescription");
58 }
59
67 CallContentMediaDescriptionInterface(
68 const QString& busName,
69 const QString& objectPath,
70 QObject* parent = 0
71 );
72
81 CallContentMediaDescriptionInterface(
82 const QDBusConnection& connection,
83 const QString& busName,
84 const QString& objectPath,
85 QObject* parent = 0
86 );
87
94 CallContentMediaDescriptionInterface(Tp::DBusProxy *proxy);
95
108 inline Tp::PendingVariant *requestPropertyInterfaces() const
109 {
110 return internalRequestProperty(QLatin1String("Interfaces"));
111 }
112
136 inline Tp::PendingVariant *requestPropertyFurtherNegotiationRequired() const
137 {
138 return internalRequestProperty(QLatin1String("FurtherNegotiationRequired"));
139 }
140
158 inline Tp::PendingVariant *requestPropertyHasRemoteInformation() const
159 {
160 return internalRequestProperty(QLatin1String("HasRemoteInformation"));
161 }
162
173 inline Tp::PendingVariant *requestPropertyCodecs() const
174 {
175 return internalRequestProperty(QLatin1String("Codecs"));
176 }
177
199 inline Tp::PendingVariant *requestPropertyRemoteContact() const
200 {
201 return internalRequestProperty(QLatin1String("RemoteContact"));
202 }
203
240 inline Tp::PendingVariant *requestPropertySSRCs() const
241 {
242 return internalRequestProperty(QLatin1String("SSRCs"));
243 }
244
251 Tp::PendingVariantMap *requestAllProperties() const
252 {
253 return internalRequestAllProperties();
254 }
255
256 public Q_SLOTS:
275 inline QDBusPendingReply<> Accept(const QVariantMap& localMediaDescription, int timeout = -1)
276 {
277 if (!invalidationReason().isEmpty()) {
278 return QDBusPendingReply<>(QDBusMessage::createError(
279 invalidationReason(),
280 invalidationMessage()
281 ));
282 }
283
284 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
285 this->staticInterfaceName(), QLatin1String("Accept"));
286 callMessage << QVariant::fromValue(localMediaDescription);
287 return this->connection().asyncCall(callMessage, timeout);
288 }
289
304 inline QDBusPendingReply<> Reject(const Tp::CallStateReason& reason, int timeout = -1)
305 {
306 if (!invalidationReason().isEmpty()) {
307 return QDBusPendingReply<>(QDBusMessage::createError(
308 invalidationReason(),
309 invalidationMessage()
310 ));
311 }
312
313 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
314 this->staticInterfaceName(), QLatin1String("Reject"));
315 callMessage << QVariant::fromValue(reason);
316 return this->connection().asyncCall(callMessage, timeout);
317 }
318
319 protected:
320 virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
321 };
322
330 class TP_QT_EXPORT CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface : public Tp::AbstractInterface
331 {
332 Q_OBJECT
333
334 public:
341 static inline QLatin1String staticInterfaceName()
342 {
343 return QLatin1String("org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPExtendedReports");
344 }
345
353 CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(
354 const QString& busName,
355 const QString& objectPath,
356 QObject* parent = 0
357 );
358
367 CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(
368 const QDBusConnection& connection,
369 const QString& busName,
370 const QString& objectPath,
371 QObject* parent = 0
372 );
373
380 CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(Tp::DBusProxy *proxy);
381
389 explicit CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(const Tp::Client::CallContentMediaDescriptionInterface& mainInterface);
390
398 CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(const Tp::Client::CallContentMediaDescriptionInterface& mainInterface, QObject* parent);
399
412 inline Tp::PendingVariant *requestPropertyLossRLEMaxSize() const
413 {
414 return internalRequestProperty(QLatin1String("LossRLEMaxSize"));
415 }
416
429 inline Tp::PendingVariant *requestPropertyDuplicateRLEMaxSize() const
430 {
431 return internalRequestProperty(QLatin1String("DuplicateRLEMaxSize"));
432 }
433
446 inline Tp::PendingVariant *requestPropertyPacketReceiptTimesMaxSize() const
447 {
448 return internalRequestProperty(QLatin1String("PacketReceiptTimesMaxSize"));
449 }
450
464 inline Tp::PendingVariant *requestPropertyDLRRMaxSize() const
465 {
466 return internalRequestProperty(QLatin1String("DLRRMaxSize"));
467 }
468
478 inline Tp::PendingVariant *requestPropertyRTTMode() const
479 {
480 return internalRequestProperty(QLatin1String("RTTMode"));
481 }
482
494 inline Tp::PendingVariant *requestPropertyStatisticsFlags() const
495 {
496 return internalRequestProperty(QLatin1String("StatisticsFlags"));
497 }
498
509 inline Tp::PendingVariant *requestPropertyEnableMetrics() const
510 {
511 return internalRequestProperty(QLatin1String("EnableMetrics"));
512 }
513
520 Tp::PendingVariantMap *requestAllProperties() const
521 {
522 return internalRequestAllProperties();
523 }
524
525 protected:
526 virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
527 };
528
536 class TP_QT_EXPORT CallContentMediaDescriptionInterfaceRTCPFeedbackInterface : public Tp::AbstractInterface
537 {
538 Q_OBJECT
539
540 public:
547 static inline QLatin1String staticInterfaceName()
548 {
549 return QLatin1String("org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPFeedback");
550 }
551
559 CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(
560 const QString& busName,
561 const QString& objectPath,
562 QObject* parent = 0
563 );
564
573 CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(
574 const QDBusConnection& connection,
575 const QString& busName,
576 const QString& objectPath,
577 QObject* parent = 0
578 );
579
586 CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(Tp::DBusProxy *proxy);
587
595 explicit CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(const Tp::Client::CallContentMediaDescriptionInterface& mainInterface);
596
604 CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(const Tp::Client::CallContentMediaDescriptionInterface& mainInterface, QObject* parent);
605
615 inline Tp::PendingVariant *requestPropertyFeedbackMessages() const
616 {
617 return internalRequestProperty(QLatin1String("FeedbackMessages"));
618 }
619
630 inline Tp::PendingVariant *requestPropertyDoesAVPF() const
631 {
632 return internalRequestProperty(QLatin1String("DoesAVPF"));
633 }
634
641 Tp::PendingVariantMap *requestAllProperties() const
642 {
643 return internalRequestAllProperties();
644 }
645
646 protected:
647 virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
648 };
649
657 class TP_QT_EXPORT CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface : public Tp::AbstractInterface
658 {
659 Q_OBJECT
660
661 public:
668 static inline QLatin1String staticInterfaceName()
669 {
670 return QLatin1String("org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTPHeaderExtensions");
671 }
672
680 CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(
681 const QString& busName,
682 const QString& objectPath,
683 QObject* parent = 0
684 );
685
694 CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(
695 const QDBusConnection& connection,
696 const QString& busName,
697 const QString& objectPath,
698 QObject* parent = 0
699 );
700
707 CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(Tp::DBusProxy *proxy);
708
716 explicit CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(const Tp::Client::CallContentMediaDescriptionInterface& mainInterface);
717
725 CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(const Tp::Client::CallContentMediaDescriptionInterface& mainInterface, QObject* parent);
726
736 inline Tp::PendingVariant *requestPropertyHeaderExtensions() const
737 {
738 return internalRequestProperty(QLatin1String("HeaderExtensions"));
739 }
740
747 Tp::PendingVariantMap *requestAllProperties() const
748 {
749 return internalRequestAllProperties();
750 }
751
752 protected:
753 virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
754 };
755 }
756 }
757 Q_DECLARE_METATYPE(Tp::Client::CallContentMediaDescriptionInterface*)
758 Q_DECLARE_METATYPE(Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface*)
759 Q_DECLARE_METATYPE(Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface*)
760 Q_DECLARE_METATYPE(Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface*)
Tp
Definition: abstract-adaptor.cpp:31
Tp::Client::CallContentMediaDescriptionInterface::requestPropertyFurtherNegotiationRequired
Tp::PendingVariant * requestPropertyFurtherNegotiationRequired() const
Definition: cli-call-content-media-description.h:136
Tp::Client::CallContentMediaDescriptionInterface::requestAllProperties
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-call-content-media-description.h:251
Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::requestPropertyFeedbackMessages
Tp::PendingVariant * requestPropertyFeedbackMessages() const
Definition: cli-call-content-media-description.h:615
Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::staticInterfaceName
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:668
Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface
Definition: cli-call-content-media-description.h:536
Tp::Client::CallContentMediaDescriptionInterface::requestPropertySSRCs
Tp::PendingVariant * requestPropertySSRCs() const
Definition: cli-call-content-media-description.h:240
Tp::DBusProxy
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
QDBusConnection
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::staticInterfaceName
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:341
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyDLRRMaxSize
Tp::PendingVariant * requestPropertyDLRRMaxSize() const
Definition: cli-call-content-media-description.h:464
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyEnableMetrics
Tp::PendingVariant * requestPropertyEnableMetrics() const
Definition: cli-call-content-media-description.h:509
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyLossRLEMaxSize
Tp::PendingVariant * requestPropertyLossRLEMaxSize() const
Definition: cli-call-content-media-description.h:412
Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::requestAllProperties
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-call-content-media-description.h:641
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyStatisticsFlags
Tp::PendingVariant * requestPropertyStatisticsFlags() const
Definition: cli-call-content-media-description.h:494
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestAllProperties
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-call-content-media-description.h:520
QDBusPendingReply
QObject
Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::requestPropertyDoesAVPF
Tp::PendingVariant * requestPropertyDoesAVPF() const
Definition: cli-call-content-media-description.h:630
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyPacketReceiptTimesMaxSize
Tp::PendingVariant * requestPropertyPacketReceiptTimesMaxSize() const
Definition: cli-call-content-media-description.h:446
Tp::Client::CallContentMediaDescriptionInterface::Reject
QDBusPendingReply Reject(const Tp::CallStateReason &reason, int timeout=-1)
Definition: cli-call-content-media-description.h:304
Tp::Client::CallContentMediaDescriptionInterface::requestPropertyInterfaces
Tp::PendingVariant * requestPropertyInterfaces() const
Definition: cli-call-content-media-description.h:108
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface
Definition: cli-call-content-media-description.h:330
QString
Tp::Client::CallContentMediaDescriptionInterface::requestPropertyHasRemoteInformation
Tp::PendingVariant * requestPropertyHasRemoteInformation() const
Definition: cli-call-content-media-description.h:158
Tp::Client::CallContentMediaDescriptionInterface::staticInterfaceName
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:55
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyRTTMode
Tp::PendingVariant * requestPropertyRTTMode() const
Definition: cli-call-content-media-description.h:478
Tp::PendingVariantMap
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
QVariant::fromValue
QVariant fromValue(const T &value)
Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::requestAllProperties
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-call-content-media-description.h:747
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
QDBusMessage
QLatin1String
Tp::Client::CallContentMediaDescriptionInterface
Definition: cli-call-content-media-description.h:44
Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::staticInterfaceName
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:547
Tp::Client::CallContentMediaDescriptionInterface::Accept
QDBusPendingReply Accept(const QVariantMap &localMediaDescription, int timeout=-1)
Definition: cli-call-content-media-description.h:275
Tp::Client::CallContentMediaDescriptionInterface::requestPropertyCodecs
Tp::PendingVariant * requestPropertyCodecs() const
Definition: cli-call-content-media-description.h:173
QDBusMessage::createError
QDBusMessage createError(const QString &name, const QString &msg)
Tp::Client::CallContentMediaDescriptionInterface::requestPropertyRemoteContact
Tp::PendingVariant * requestPropertyRemoteContact() const
Definition: cli-call-content-media-description.h:199
Tp::CallStateReason
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:320
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyDuplicateRLEMaxSize
Tp::PendingVariant * requestPropertyDuplicateRLEMaxSize() const
Definition: cli-call-content-media-description.h:429
QDBusMessage::createMethodCall
QDBusMessage createMethodCall(const QString &service, const QString &path, const QString &interface, const QString &method)
Tp::PendingVariant
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface
Definition: cli-call-content-media-description.h:657
Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::requestPropertyHeaderExtensions
Tp::PendingVariant * requestPropertyHeaderExtensions() const
Definition: cli-call-content-media-description.h:736