22 #ifndef _TelepathyQt_base_channel_h_HEADER_GUARD_ 23 #define _TelepathyQt_base_channel_h_HEADER_GUARD_ 25 #ifndef IN_TP_QT_HEADER 26 #error IN_TP_QT_HEADER 29 #include <TelepathyQt/DBusService> 30 #include <TelepathyQt/Global> 31 #include <TelepathyQt/Types> 32 #include <TelepathyQt/Callbacks> 33 #include <TelepathyQt/Constants> 35 #include <QDBusConnection> 50 return BaseChannelPtr(
new BaseChannel(QDBusConnection::sessionBus(), connection,
51 channelType, targetHandleType, targetHandle));
56 QVariantMap immutableProperties()
const;
57 bool registerObject(
DBusError *error = NULL);
58 virtual QString uniqueName()
const;
62 QString channelType()
const;
63 QList<AbstractChannelInterfacePtr> interfaces()
const;
64 AbstractChannelInterfacePtr interface(
const QString &interfaceName)
const;
65 uint targetHandle()
const;
66 QString targetID()
const;
67 uint targetHandleType()
const;
68 bool requested()
const;
69 uint initiatorHandle()
const;
70 QString initiatorID()
const;
73 void setInitiatorHandle(uint initiatorHandle);
74 void setInitiatorID(
const QString &initiatorID);
75 void setTargetID(
const QString &targetID);
76 void setRequested(
bool requested);
80 bool plugInterface(
const AbstractChannelInterfacePtr &interface);
86 const QString &channelType, uint targetHandleType, uint targetHandle);
87 virtual bool registerObject(
const QString &busName,
const QString &objectPath,
93 friend struct Private;
107 virtual void close();
114 friend struct Private;
128 template<
typename BaseChannelTextTypeSub
class>
131 new BaseChannelTextTypeSubclass(channel));
143 void acknowledgePendingMessages(
const QStringList &tokens,
DBusError *error);
146 void sent(uint timestamp, uint type, QString text);
153 void createAdaptor();
156 friend class Adaptee;
158 friend struct Private;
169 QStringList supportedContentTypes,
171 uint messagePartSupportFlags,
172 uint deliveryReportingSupport) {
174 supportedContentTypes,
176 messagePartSupportFlags,
177 deliveryReportingSupport));
179 template<
typename BaseChannelMessagesInterfaceSub
class>
182 new BaseChannelMessagesInterfaceSubclass());
186 QVariantMap immutableProperties()
const;
188 QStringList supportedContentTypes();
190 uint messagePartSupportFlags();
191 uint deliveryReportingSupport();
194 void messageSent(
const Tp::MessagePartList &content, uint flags,
const QString &messageToken);
201 void pendingMessagesRemoved(
const Tp::UIntList &messageIDs);
205 QStringList supportedContentTypes,
207 uint messagePartSupportFlags,
208 uint deliveryReportingSupport);
209 void createAdaptor();
212 friend class Adaptee;
214 friend struct Private;
229 static BaseChannelFileTransferTypePtr
create(
const QVariantMap &request)
233 template<
typename BaseChannelFileTransferTypeSub
class>
237 new BaseChannelFileTransferTypeSubclass(request));
242 QVariantMap immutableProperties()
const;
243 Direction direction()
const;
245 QString contentType()
const;
246 QString filename()
const;
247 qulonglong size()
const;
248 uint contentHashType()
const;
249 QString contentHash()
const;
250 QString description()
const;
251 QDateTime date()
const;
255 void setState(uint state, uint reason);
257 qulonglong transferredBytes()
const;
258 void setTransferredBytes(qulonglong count);
259 qulonglong initialOffset()
const;
263 QString fileCollection()
const;
264 void setFileCollection(
const QString &fileCollection);
266 bool remoteAcceptFile(QIODevice *output, qulonglong offset);
267 bool remoteProvideFile(QIODevice *input, qulonglong deviceOffset = 0);
270 void stateChanged(uint state, uint reason);
271 void uriDefined(
const QString &uri);
276 virtual bool createSocket(uint addressType, uint accessControl,
const QDBusVariant &accessControlParam,
DBusError *error);
277 virtual QDBusVariant socketAddress()
const;
279 void setClientSocket(QIODevice *socket);
284 TP_QT_NO_EXPORT
void onSocketConnection();
285 TP_QT_NO_EXPORT
void doTransfer();
286 TP_QT_NO_EXPORT
void onBytesWritten(qint64 count);
289 TP_QT_NO_EXPORT
void setUri(
const QString &uri);
290 TP_QT_NO_EXPORT
void tryToOpenAndTransfer();
292 void createAdaptor();
295 friend class Adaptee;
297 friend struct Private;
307 static BaseChannelRoomListTypePtr
create(
const QString &server = QString())
311 template<
typename BaseChannelRoomListTypeSub
class>
315 new BaseChannelRoomListTypeSubclass(server));
320 QVariantMap immutableProperties()
const;
322 QString server()
const;
324 bool getListingRooms();
325 void setListingRooms(
bool listing);
341 void createAdaptor();
344 friend class Adaptee;
346 friend struct Private;
356 static BaseChannelServerAuthenticationTypePtr
create(
const QString &authenticationMethod) {
359 template<
typename BaseChannelServerAuthenticationTypeSub
class>
362 new BaseChannelServerAuthenticationTypeSubclass(authenticationMethod));
366 QVariantMap immutableProperties()
const;
370 void createAdaptor();
373 friend class Adaptee;
375 friend struct Private;
385 static BaseChannelCaptchaAuthenticationInterfacePtr
create(
bool canRetryCaptcha) {
388 template<
typename BaseChannelCaptchaAuthenticationInterfaceSub
class>
391 new BaseChannelCaptchaAuthenticationInterfaceSubclass(canRetryCaptcha));
395 QVariantMap immutableProperties()
const;
409 void setCaptchaStatus(uint status);
410 void setCaptchaError(
const QString &busName);
411 void setCaptchaErrorDetails(
const QVariantMap &error);
415 void createAdaptor();
418 friend class Adaptee;
420 friend struct Private;
430 static BaseChannelSASLAuthenticationInterfacePtr
create(
const QStringList &availableMechanisms,
433 const QString &authorizationIdentity,
434 const QString &defaultUsername,
435 const QString &defaultRealm,
436 bool maySaveResponse)
441 authorizationIdentity,
446 template<
typename BaseChannelSASLAuthenticationInterfaceSub
class>
450 const QString &authorizationIdentity,
451 const QString &defaultUsername,
452 const QString &defaultRealm,
453 bool maySaveResponse)
456 new BaseChannelSASLAuthenticationInterfaceSubclass(availableMechanisms,
459 authorizationIdentity,
467 QVariantMap immutableProperties()
const;
469 QStringList availableMechanisms()
const;
470 bool hasInitialData()
const;
471 bool canTryAgain()
const;
472 QString authorizationIdentity()
const;
473 QString defaultUsername()
const;
474 QString defaultRealm()
const;
475 bool maySaveResponse()
const;
477 uint saslStatus()
const;
478 void setSaslStatus(uint status,
const QString &reason,
const QVariantMap &details);
480 QString saslError()
const;
481 void setSaslError(
const QString &saslError);
483 QVariantMap saslErrorDetails()
const;
484 void setSaslErrorDetails(
const QVariantMap &saslErrorDetails);
488 void startMechanism(
const QString &mechanism,
DBusError *error);
492 void startMechanismWithData(
const QString &mechanism,
const QByteArray &initialData,
DBusError *error);
496 void respond(
const QByteArray &responseData,
DBusError *error);
504 void abortSasl(uint reason,
const QString &debugMessage,
DBusError *error);
506 void newChallenge(
const QByteArray &challengeData);
512 const QString &authorizationIdentity,
513 const QString &defaultUsername,
514 const QString &defaultRealm,
515 bool maySaveResponse);
518 void createAdaptor();
521 friend class Adaptee;
523 friend struct Private;
533 static BaseChannelSecurableInterfacePtr
create()
537 template<
typename BaseChannelSecurableInterfaceSub
class>
541 new BaseChannelSecurableInterfaceSubclass());
546 QVariantMap immutableProperties()
const;
548 bool encrypted()
const;
549 void setEncrypted(
bool encrypted);
551 bool verified()
const;
552 void setVerified(
bool verified);
558 void createAdaptor();
561 friend class Adaptee;
563 friend struct Private;
573 static BaseChannelChatStateInterfacePtr
create()
577 template<
typename BaseChannelChatStateInterfaceSub
class>
581 new BaseChannelChatStateInterfaceSubclass());
591 void setChatState(uint state,
DBusError *error);
593 void chatStateChanged(uint contact, uint state);
599 void createAdaptor();
602 friend class Adaptee;
604 friend struct Private;
614 static BaseChannelGroupInterfacePtr
create()
618 template<
typename BaseChannelGroupInterfaceSub
class>
622 new BaseChannelGroupInterfaceSubclass());
631 void setMembers(
const Tp::UIntList &members,
const QVariantMap &details);
641 void setRemotePendingMembers(
const Tp::UIntList &remotePendingMembers);
643 uint selfHandle()
const;
644 void setSelfHandle(uint selfHandle);
654 void removeMembers(
const Tp::UIntList &contacts,
const QString &message, uint reason,
DBusError *error);
661 void createAdaptor();
664 friend class Adaptee;
666 friend struct Private;
676 static BaseChannelRoomInterfacePtr
create(
const QString &roomName,
677 const QString &server,
678 const QString &creator,
680 const QDateTime &creationTimestamp)
688 template<
typename BaseChannelRoomInterfaceSub
class>
690 const QString &server,
691 const QString &creator,
693 const QDateTime &creationTimestamp)
696 new BaseChannelRoomInterfaceSubclass(roomName,
705 QVariantMap immutableProperties()
const;
707 QString roomName()
const;
708 QString server()
const;
709 QString creator()
const;
710 uint creatorHandle()
const;
711 QDateTime creationTimestamp()
const;
715 const QString &server,
716 const QString &creator,
718 const QDateTime &creationTimestamp);
721 void createAdaptor();
724 friend class Adaptee;
726 friend struct Private;
736 static BaseChannelRoomConfigInterfacePtr
create()
740 template<
typename BaseChannelRoomConfigInterfaceSub
class>
744 new BaseChannelRoomConfigInterfaceSubclass());
749 bool anonymous()
const;
750 void setAnonymous(
bool anonymous);
752 bool inviteOnly()
const;
753 void setInviteOnly(
bool inviteOnly);
756 void setLimit(uint limit);
758 bool moderated()
const;
759 void setModerated(
bool moderated);
761 QString title()
const;
762 void setTitle(
const QString &title);
764 QString description()
const;
765 void setDescription(
const QString &description);
767 bool persistent()
const;
768 void setPersistent(
bool persistent);
770 bool isPrivate()
const;
771 void setPrivate(
bool newPrivate);
773 bool passwordProtected()
const;
774 void setPasswordProtected(
bool passwordProtected);
776 QString password()
const;
777 void setPassword(
const QString &password);
779 QString passwordHint()
const;
780 void setPasswordHint(
const QString &passwordHint);
782 bool canUpdateConfiguration()
const;
783 void setCanUpdateConfiguration(
bool canUpdateConfiguration);
785 QStringList mutableProperties()
const;
786 void setMutableProperties(
const QStringList &mutableProperties);
788 bool configurationRetrieved()
const;
789 void setConfigurationRetrieved(
bool configurationRetrieved);
793 void updateConfiguration(
const QVariantMap &properties,
DBusError *error);
799 void createAdaptor();
802 friend class Adaptee;
804 friend struct Private;
815 uint initialTransport,
818 QString initialAudioName,
819 QString initialVideoName,
820 bool mutableContents =
false) {
830 template<
typename BaseChannelCallTypeSub
class>
832 uint initialTransport,
835 QString initialAudioName,
836 QString initialVideoName,
837 bool mutableContents =
false) {
839 new BaseChannelCallTypeSubclass(channel,
857 QVariantMap immutableProperties()
const;
860 QVariantMap callStateDetails();
864 bool hardwareStreaming();
867 uint initialTransport();
870 QString initialAudioName();
871 QString initialVideoName();
872 bool mutableContents();
892 void addContent(BaseCallContentPtr content);
898 bool hardwareStreaming,
899 uint initialTransport,
902 QString initialAudioName,
903 QString initialVideoName,
904 bool mutableContents =
false);
907 void createAdaptor();
910 friend class Adaptee;
912 friend struct Private;
922 static BaseChannelHoldInterfacePtr
create() {
925 template<
typename BaseChannelHoldInterfaceSub
class>
928 new BaseChannelHoldInterfaceSubclass());
942 void createAdaptor();
945 friend class Adaptee;
947 friend struct Private;
957 static BaseChannelMergeableConferenceInterfacePtr
create() {
960 template<
typename BaseChannelMergeableConferenceInterfaceSub
class>
963 new BaseChannelMergeableConferenceInterfaceSubclass());
967 void merge(
const QDBusObjectPath &channel);
973 void createAdaptor();
976 friend class Adaptee;
978 friend struct Private;
988 static BaseChannelSplittableInterfacePtr
create() {
991 template<
typename BaseChannelSplittableInterfaceSub
class>
994 new BaseChannelSplittableInterfaceSubclass());
1004 void createAdaptor();
1007 friend class Adaptee;
1009 friend struct Private;
1021 QStringList initialInviteeIDs = QStringList(),
1022 QString invitationMessage = QString(),
1024 return BaseChannelConferenceInterfacePtr(
new BaseChannelConferenceInterface(initialChannels, initialInviteeHandles, initialInviteeIDs, invitationMessage, originalChannels));
1026 template<
typename BaseChannelConferenceInterfaceSub
class>
1029 QStringList initialInviteeIDs = QStringList(),
1030 QString invitationMessage = QString(),
1033 new BaseChannelConferenceInterfaceSubclass(initialChannels, initialInviteeHandles, initialInviteeIDs, invitationMessage, originalChannels));
1037 QVariantMap immutableProperties()
const;
1041 QStringList initialInviteeIDs()
const;
1042 QString invitationMessage()
const;
1045 void mergeChannel(
const QDBusObjectPath &channel, uint channelHandle,
const QVariantMap &properties);
1046 void removeChannel(
const QDBusObjectPath &channel,
const QVariantMap &details);
1050 void createAdaptor();
1053 friend class Adaptee;
1055 friend struct Private;
1065 static BaseChannelSMSInterfacePtr
create(
bool flash,
bool smsChannel) {
1068 template<
typename BaseChannelSMSInterfaceSub
class>
1071 new BaseChannelSMSInterfaceSubclass(flash, smsChannel));
1075 QVariantMap immutableProperties()
const;
1081 bool smsChannel()
const;
1084 void smsChannelChanged(
bool smsChannel);
1088 void createAdaptor();
1091 friend class Adaptee;
1093 friend struct Private;
Definition: build/TelepathyQt/_gen/types.h:928
static BaseChannelMessagesInterfacePtr create(BaseChannelTextType *textTypeInterface, QStringList supportedContentTypes, UIntList messageTypes, uint messagePartSupportFlags, uint deliveryReportingSupport)
Definition: base-channel.h:168
static BaseChannelConferenceInterfacePtr create(Tp::ObjectPathList initialChannels=Tp::ObjectPathList(), Tp::UIntList initialInviteeHandles=Tp::UIntList(), QStringList initialInviteeIDs=QStringList(), QString invitationMessage=QString(), ChannelOriginatorMap originalChannels=ChannelOriginatorMap())
Definition: base-channel.h:1019
Definition: build/TelepathyQt/_gen/constants.h:1382
static BaseChannelSMSInterfacePtr create(bool flash, bool smsChannel)
Definition: base-channel.h:1065
Definition: build/TelepathyQt/_gen/types.h:772
Definition: base-channel.h:225
Base class for implementations of Channel.Interface.Messages.
Definition: base-channel.h:162
Callback1< void, DBusError * > SetQueuedCallback
Definition: base-channel.h:883
Base class for D-Bus services.
Definition: dbus-service.h:46
Base class for channel implementations.
Definition: base-channel.h:42
Callback1< void, DBusError * > ListRoomsCallback
Definition: base-channel.h:327
QFlags< ChannelGroupFlag > ChannelGroupFlags
Definition: build/TelepathyQt/_gen/constants.h:1043
static SharedPtr< BaseChannelRoomListTypeSubclass > create(const QString &server=QString())
Definition: base-channel.h:312
static SharedPtr< BaseChannelRoomInterfaceSubclass > create(const QString &roomName, const QString &server, const QString &creator, uint creatorHandle, const QDateTime &creationTimestamp)
Definition: base-channel.h:689
Definition: build/TelepathyQt/_gen/types.h:109
Callback2< void, const QDBusObjectPath &, DBusError * > MergeCallback
Definition: base-channel.h:969
Callback2< void, const Tp::CaptchaAnswers &, DBusError * > AnswerCaptchasCallback
Definition: base-channel.h:403
Callback3< QByteArray, uint, const QString &, DBusError * > GetCaptchaDataCallback
Definition: base-channel.h:400
static BaseChannelCallTypePtr create(BaseChannel *channel, bool hardwareStreaming, uint initialTransport, bool initialAudio, bool initialVideo, QString initialAudioName, QString initialVideoName, bool mutableContents=false)
Definition: base-channel.h:814
static SharedPtr< BaseChannelTextTypeSubclass > create(BaseChannel *channel)
Definition: base-channel.h:129
static BaseChannelPtr create(BaseConnection *connection, const QString &channelType, Tp::HandleType targetHandleType=Tp::HandleTypeNone, uint targetHandle=0)
Definition: base-channel.h:48
static BaseChannelRoomListTypePtr create(const QString &server=QString())
Definition: base-channel.h:307
static SharedPtr< BaseChannelSMSInterfaceSubclass > create(bool flash, bool smsChannel)
Definition: base-channel.h:1069
QList< MessagePart > MessagePartList
Definition: build/TelepathyQt/_gen/types.h:2068
Callback2< void, const QVariantMap &, DBusError * > UpdateConfigurationCallback
Definition: base-channel.h:791
Callback2< void, uint, DBusError * > SetChatStateCallback
Definition: base-channel.h:589
Tp::RequestableChannelClassList requestableChannelClasses
Definition: base-channel.h:894
static BaseChannelGroupInterfacePtr create()
Definition: base-channel.h:614
EnsureChannelCallback ensureChannel
Definition: base-channel.h:853
Base class for implementations of Channel.Interface.CaptchaAuthentication.
Definition: base-channel.h:379
static BaseChannelSplittableInterfacePtr create()
Definition: base-channel.h:988
Base class of Channel.Type.FileTransfer channel type.
Definition: base-channel.h:218
static SharedPtr< BaseChannelRoomConfigInterfaceSubclass > create()
Definition: base-channel.h:741
CreateChannelCallback createChannel
Definition: base-channel.h:850
Base class for D-Bus service interfaces.
Definition: dbus-service.h:73
Callback3< void, uint, const QString &, DBusError * > CancelCaptchaCallback
Definition: base-channel.h:406
Base class for implementations of Channel.Interface.Room2.
Definition: base-channel.h:670
Callback1< void, DBusError * > AcceptSASLCallback
Definition: base-channel.h:498
Base class for Connection implementations.
Definition: base-connection.h:44
Base class for implementations of Channel.Interface.Securable.
Definition: base-channel.h:527
Callback1< void, DBusError * > StopListingCallback
Definition: base-channel.h:331
static SharedPtr< BaseChannelHoldInterfaceSubclass > create()
Definition: base-channel.h:926
static SharedPtr< BaseChannelConferenceInterfaceSubclass > create(Tp::ObjectPathList initialChannels=Tp::ObjectPathList(), Tp::UIntList initialInviteeHandles=Tp::UIntList(), QStringList initialInviteeIDs=QStringList(), QString invitationMessage=QString(), ChannelOriginatorMap originalChannels=ChannelOriginatorMap())
Definition: base-channel.h:1027
MediaStreamType
Definition: build/TelepathyQt/_gen/constants.h:2716
static BaseChannelCaptchaAuthenticationInterfacePtr create(bool canRetryCaptcha)
Definition: base-channel.h:385
Callback2< QDBusObjectPath, const QVariantMap &, DBusError * > CreateChannelCallback
Definition: base-channel.h:849
CallState
Definition: build/TelepathyQt/_gen/constants.h:2286
Base class for implementations of Channel.Interface.Splittable.
Definition: base-channel.h:982
Base class for implementations of Channel.Type.Call.
Definition: base-channel.h:808
LocalHoldStateReason
Definition: build/TelepathyQt/_gen/constants.h:3516
static BaseChannelChatStateInterfacePtr create()
Definition: base-channel.h:573
static BaseChannelMergeableConferenceInterfacePtr create()
Definition: base-channel.h:957
Definition: build/TelepathyQt/_gen/types.h:1700
static SharedPtr< BaseChannelCaptchaAuthenticationInterfaceSubclass > create(bool canRetryCaptcha)
Definition: base-channel.h:389
Callback3< void, const Tp::UIntList &, const QString &, DBusError * > AddMembersCallback
Definition: base-channel.h:648
Base class for implementations of Channel.Type.ServerAuthentifcation.
Definition: base-channel.h:350
Base class for implementations of Channel.Interface.SMS.
Definition: base-channel.h:1059
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
MediaStreamDirection
Definition: build/TelepathyQt/_gen/constants.h:2777
Callback2< void, const QByteArray &, DBusError * > RespondCallback
Definition: base-channel.h:494
static SharedPtr< BaseChannelSecurableInterfaceSubclass > create()
Definition: base-channel.h:538
Definition: build/TelepathyQt/_gen/types.h:905
Callback3< void, uint, const QString &, DBusError * > AbortSASLCallback
Definition: base-channel.h:502
static SharedPtr< BaseChannelMessagesInterfaceSubclass > create()
Definition: base-channel.h:180
QList< RoomInfo > RoomInfoList
Definition: build/TelepathyQt/_gen/types.h:2733
Base class for implementations of Channel.Type.Text.
Definition: base-channel.h:119
Base class for implementations of Channel.Interface.Group.
Definition: base-channel.h:608
static SharedPtr< BaseChannelFileTransferTypeSubclass > create(const QVariantMap &request)
Definition: base-channel.h:234
Base class for implementations of Channel.Interface.SASLAuthentication.
Definition: base-channel.h:424
static SharedPtr< BaseChannelGroupInterfaceSubclass > create()
Definition: base-channel.h:619
Callback2< void, const QString &, DBusError * > StartMechanismCallback
Definition: base-channel.h:486
static SharedPtr< BaseChannelChatStateInterfaceSubclass > create()
Definition: base-channel.h:578
Base class for implementations of Channel.Type.RoomList.
Definition: base-channel.h:301
Callback3< void, const QString &, const QByteArray &, DBusError * > StartMechanismWithDataCallback
Definition: base-channel.h:490
static BaseChannelHoldInterfacePtr create()
Definition: base-channel.h:922
Definition: build/TelepathyQt/_gen/types.h:85
Callback1< void, DBusError * > SetRingingCallback
Definition: base-channel.h:880
Definition: build/TelepathyQt/_gen/types.h:336
HandleType
Definition: build/TelepathyQt/_gen/constants.h:1375
static BaseChannelSASLAuthenticationInterfacePtr create(const QStringList &availableMechanisms, bool hasInitialData, bool canTryAgain, const QString &authorizationIdentity, const QString &defaultUsername, const QString &defaultRealm, bool maySaveResponse)
Definition: base-channel.h:430
Callback3< QString, const Tp::MessagePartList &, uint, DBusError * > SendMessageCallback
Definition: base-channel.h:196
QList< MessagePartList > MessagePartListList
Definition: build/TelepathyQt/_gen/types.h:2076
Base class for implementations of Channel.Interface.MergeableConference.
Definition: base-channel.h:951
QList< LocalPendingInfo > LocalPendingInfoList
Definition: build/TelepathyQt/_gen/types.h:1758
static BaseChannelFileTransferTypePtr create(const QVariantMap &request)
Definition: base-channel.h:229
Base class for implementations of Channel.Interface.RoomConfig1.
Definition: base-channel.h:730
Small container class, containing a D-Bus error.
Definition: dbus-error.h:35
LocalHoldState
Definition: build/TelepathyQt/_gen/constants.h:3466
static BaseChannelSecurableInterfacePtr create()
Definition: base-channel.h:533
static SharedPtr< BaseChannelMergeableConferenceInterfaceSubclass > create()
Definition: base-channel.h:961
Base class for implementations of Channel.Interface.Chat.State.
Definition: base-channel.h:567
static BaseChannelTextTypePtr create(BaseChannel *channel)
Definition: base-channel.h:125
Definition: build/TelepathyQt/_gen/types.h:1677
Definition: build/TelepathyQt/_gen/types.h:3146
Callback1< void, DBusError * > SplitCallback
Definition: base-channel.h:1000
Direction
Definition: base-channel.h:224
Callback2< bool, const QVariantMap &, DBusError * > EnsureChannelCallback
Definition: base-channel.h:852
static SharedPtr< BaseChannelSASLAuthenticationInterfaceSubclass > create(const QStringList &availableMechanisms, bool hasInitialData, bool canTryAgain, const QString &authorizationIdentity, const QString &defaultUsername, const QString &defaultRealm, bool maySaveResponse)
Definition: base-channel.h:447
Callback1< void, QString > MessageAcknowledgedCallback
Definition: base-channel.h:136
static SharedPtr< BaseChannelServerAuthenticationTypeSubclass > create(const QString &authenticationMethod)
Definition: base-channel.h:360
Callback1< void, DBusError * > AcceptCallback
Definition: base-channel.h:874
Callback3< void, const Tp::LocalHoldState &, const Tp::LocalHoldStateReason &, DBusError * > SetHoldStateCallback
Definition: base-channel.h:936
Definition: build/TelepathyQt/_gen/types.h:302
Base class for implementations of Channel.Interface.Conference.
Definition: base-channel.h:1013
Callback4< void, uint, const QString &, const QString &, DBusError * > HangupCallback
Definition: base-channel.h:877
Base class for implementations of Channel.Interface.Hold.
Definition: base-channel.h:916
Callback4< QDBusObjectPath, const QString &, const Tp::MediaStreamType &, const Tp::MediaStreamDirection &, DBusError * > AddContentCallback
Definition: base-channel.h:886
static BaseChannelServerAuthenticationTypePtr create(const QString &authenticationMethod)
Definition: base-channel.h:356
Callback4< void, Tp::CaptchaInfoList &, uint &, QString &, DBusError * > GetCaptchasCallback
Definition: base-channel.h:397
Definition: abstract-adaptor.cpp:31
Base class for all the Channel object interface implementations.
Definition: base-channel.h:97
static SharedPtr< BaseChannelCallTypeSubclass > create(BaseChannel *channel, bool hardwareStreaming, uint initialTransport, bool initialAudio, bool initialVideo, QString initialAudioName, QString initialVideoName, bool mutableContents=false)
Definition: base-channel.h:831
static BaseChannelRoomConfigInterfacePtr create()
Definition: base-channel.h:736
static BaseChannelRoomInterfacePtr create(const QString &roomName, const QString &server, const QString &creator, uint creatorHandle, const QDateTime &creationTimestamp)
Definition: base-channel.h:676
QList< RequestableChannelClass > RequestableChannelClassList
Definition: build/TelepathyQt/_gen/types.h:2664
Callback4< void, const Tp::UIntList &, const QString &, uint, DBusError * > RemoveMembersCallback
Definition: base-channel.h:652
Callback2< void, const Tp::MessagePartList &, DBusError * > GetSMSLengthCallback
Definition: base-channel.h:1077
static SharedPtr< BaseChannelSplittableInterfaceSubclass > create()
Definition: base-channel.h:992