22 #ifndef _TelepathyQt_call_channel_h_HEADER_GUARD_
23 #define _TelepathyQt_call_channel_h_HEADER_GUARD_
25 #ifndef IN_TP_QT_HEADER
26 #error IN_TP_QT_HEADER
29 #include <TelepathyQt/Channel>
30 #include <TelepathyQt/CallContent>
47 static CallChannelPtr create(
const ConnectionPtr &connection,
48 const QString &objectPath,
const QVariantMap &immutableProperties);
52 bool handlerStreamingRequired()
const;
54 bool hasInitialAudio()
const;
55 bool hasInitialVideo()
const;
56 QString initialAudioName()
const;
57 QString initialVideoName()
const;
58 bool hasMutableContents()
const;
64 const QString &detailedReason = QString(),
const QString &message = QString());
70 QVariantMap callStateDetails()
const;
73 Contacts remoteMembers()
const;
79 CallContentPtr contentByName(
const QString &contentName)
const;
94 void remoteMemberFlagsChanged(
95 const QHash<Tp::ContactPtr, Tp::CallMemberFlags> &remoteMemberFlags,
97 void remoteMembersRemoved(
const Tp::Contacts &remoteMembers,
101 void contentAdded(
const Tp::CallContentPtr &content);
109 const QString &objectPath,
const QVariantMap &immutableProperties,
116 TP_QT_NO_EXPORT
void onCallStateChanged(uint state, uint flags,
127 TP_QT_NO_EXPORT
void onContentAdded(
const QDBusObjectPath &contentPath);
128 TP_QT_NO_EXPORT
void onContentRemoved(
const QDBusObjectPath &contentPath,
132 TP_QT_NO_EXPORT
void gotLocalHoldState(QDBusPendingCallWatcher *);
133 TP_QT_NO_EXPORT
void onLocalHoldStateChanged(uint, uint);
138 TP_QT_NO_EXPORT CallContentPtr addContent(
const QDBusObjectPath &contentPath);
139 TP_QT_NO_EXPORT CallContentPtr lookupContent(
const QDBusObjectPath &contentPath)
const;
142 friend struct Private;
MediaStreamType
Definition: buildqt4/TelepathyQt/_gen/constants.h:2716
static const Feature FeatureCallMembers
Definition: call-channel.h:43
MediaStreamDirection
Definition: buildqt4/TelepathyQt/_gen/constants.h:2777
static const Feature FeatureCore
Definition: call-channel.h:41
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
StreamTransportType
Definition: buildqt4/TelepathyQt/_gen/constants.h:4463
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: buildqt4/TelepathyQt/_gen/types.h:101
static const Feature FeatureCallState
Definition: call-channel.h:42
Definition: call-content.h:86
QFlags< CallFlag > CallFlags
Definition: buildqt4/TelepathyQt/_gen/constants.h:574
static const Feature FeatureContents
Definition: call-channel.h:44
static const Feature FeatureLocalHoldState
Definition: call-channel.h:45
LocalHoldStateReason
Definition: buildqt4/TelepathyQt/_gen/constants.h:3516
QList< CallContentPtr > CallContents
Definition: call-content.h:37
Definition: buildqt4/TelepathyQt/_gen/types.h:1646
QFlags< CallMemberFlag > CallMemberFlags
Definition: buildqt4/TelepathyQt/_gen/constants.h:650
CallStateChangeReason
Definition: buildqt4/TelepathyQt/_gen/constants.h:2365
Definition: buildqt4/TelepathyQt/_gen/types.h:320
The CallChannel class provides an object representing a Telepathy channel of type Call...
Definition: call-channel.h:35
LocalHoldState
Definition: buildqt4/TelepathyQt/_gen/constants.h:3466
CallState
Definition: buildqt4/TelepathyQt/_gen/constants.h:2286
The Channel class represents a Telepathy channel.
Definition: channel.h:51
Definition: buildqt4/TelepathyQt/_gen/constants.h:2394
Definition: buildqt4/TelepathyQt/_gen/types.h:287