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;
 
   60     QString channelType() 
const;
 
   61     QList<AbstractChannelInterfacePtr> interfaces() 
const;
 
   62     AbstractChannelInterfacePtr interface(
const QString &interfaceName) 
const;
 
   63     uint targetHandle() 
const;
 
   64     QString targetID() 
const;
 
   65     uint targetHandleType() 
const;
 
   66     bool requested() 
const;
 
   67     uint initiatorHandle() 
const;
 
   68     QString initiatorID() 
const;
 
   71     void setInitiatorHandle(uint initiatorHandle);
 
   72     void setInitiatorID(
const QString &initiatorID);
 
   73     void setTargetID(
const QString &targetID);
 
   74     void setRequested(
bool requested);
 
   78     bool plugInterface(
const AbstractChannelInterfacePtr &interface);
 
   84                 const QString &channelType, uint targetHandleType, uint targetHandle);
 
   85     virtual bool registerObject(
const QString &busName, 
const QString &objectPath,
 
   91     friend struct Private;
 
  108     friend struct Private;
 
  122     template<
typename BaseChannelTextTypeSub
class>
 
  125                    new BaseChannelTextTypeSubclass(channel));
 
  136     QVariantMap immutableProperties() 
const;
 
  148     void sent(uint timestamp, uint type, QString text);
 
  154     void createAdaptor();
 
  157     friend class Adaptee;
 
  159     friend struct Private;
 
  170             QStringList supportedContentTypes,
 
  172             uint messagePartSupportFlags,
 
  173             uint deliveryReportingSupport) {
 
  175                                                supportedContentTypes,
 
  177                                                messagePartSupportFlags,
 
  178                                                deliveryReportingSupport));
 
  180     template<
typename BaseChannelMessagesInterfaceSub
class>
 
  183                    new BaseChannelMessagesInterfaceSubclass());
 
  187     QVariantMap immutableProperties() 
const;
 
  189     QStringList supportedContentTypes();
 
  191     uint messagePartSupportFlags();
 
  192     uint deliveryReportingSupport();
 
  195     void messageSent(
const Tp::MessagePartList &content, uint flags, 
const QString &messageToken);
 
  202     void pendingMessagesRemoved(
const Tp::UIntList &messageIDs);
 
  206                                  QStringList supportedContentTypes,
 
  208                                  uint messagePartSupportFlags,
 
  209                                  uint deliveryReportingSupport);
 
  210     void createAdaptor();
 
  213     friend class Adaptee;
 
  215     friend struct Private;
 
  225     static BaseChannelRoomListTypePtr 
create(
const QString &server = QString())
 
  229     template<
typename BaseChannelRoomListTypeSub
class>
 
  233                 new BaseChannelRoomListTypeSubclass(server));
 
  238     QVariantMap immutableProperties() 
const;
 
  240     QString server() 
const;
 
  242     bool getListingRooms();
 
  243     void setListingRooms(
bool listing);
 
  259     void createAdaptor();
 
  262     friend class Adaptee;
 
  264     friend struct Private;
 
  274     static BaseChannelServerAuthenticationTypePtr 
create(
const QString &authenticationMethod) {
 
  277     template<
typename BaseChannelServerAuthenticationTypeSub
class>
 
  280                    new BaseChannelServerAuthenticationTypeSubclass(authenticationMethod));
 
  284     QVariantMap immutableProperties() 
const;
 
  288     void createAdaptor();
 
  291     friend class Adaptee;
 
  293     friend struct Private;
 
  303     static BaseChannelCaptchaAuthenticationInterfacePtr 
create(
bool canRetryCaptcha) {
 
  306     template<
typename BaseChannelCaptchaAuthenticationInterfaceSub
class>
 
  309                    new BaseChannelCaptchaAuthenticationInterfaceSubclass(canRetryCaptcha));
 
  313     QVariantMap immutableProperties() 
const;
 
  327     void setCaptchaStatus(uint status);
 
  328     void setCaptchaError(
const QString &busName);
 
  329     void setCaptchaErrorDetails(
const QVariantMap &error);
 
  333     void createAdaptor();
 
  336     friend class Adaptee;
 
  338     friend struct Private;
 
  348     static BaseChannelSASLAuthenticationInterfacePtr 
create(
const QStringList &availableMechanisms,
 
  351                                                             const QString &authorizationIdentity,
 
  352                                                             const QString &defaultUsername,
 
  353                                                             const QString &defaultRealm,
 
  354                                                             bool maySaveResponse)
 
  359                                                                                                     authorizationIdentity,
 
  364     template<
typename BaseChannelSASLAuthenticationInterfaceSub
class>
 
  368                                                                             const QString &authorizationIdentity,
 
  369                                                                             const QString &defaultUsername,
 
  370                                                                             const QString &defaultRealm,
 
  371                                                                             bool maySaveResponse)
 
  374                 new BaseChannelSASLAuthenticationInterfaceSubclass(availableMechanisms,
 
  377                                                                    authorizationIdentity,
 
  385     QVariantMap immutableProperties() 
const;
 
  387     QStringList availableMechanisms() 
const;
 
  388     bool hasInitialData() 
const;
 
  389     bool canTryAgain() 
const;
 
  390     QString authorizationIdentity() 
const;
 
  391     QString defaultUsername() 
const;
 
  392     QString defaultRealm() 
const;
 
  393     bool maySaveResponse() 
const;
 
  395     uint saslStatus() 
const;
 
  396     void setSaslStatus(uint status, 
const QString &reason, 
const QVariantMap &details);
 
  398     QString saslError() 
const;
 
  399     void setSaslError(
const QString &saslError);
 
  401     QVariantMap saslErrorDetails() 
const;
 
  402     void setSaslErrorDetails(
const QVariantMap &saslErrorDetails);
 
  406     void startMechanism(
const QString &mechanism, 
DBusError *error);
 
  410     void startMechanismWithData(
const QString &mechanism, 
const QByteArray &initialData, 
DBusError *error);
 
  414     void respond(
const QByteArray &responseData, 
DBusError *error);
 
  422     void abortSasl(uint reason, 
const QString &debugMessage, 
DBusError *error);
 
  424     void newChallenge(
const QByteArray &challengeData);
 
  430                                            const QString &authorizationIdentity,
 
  431                                            const QString &defaultUsername,
 
  432                                            const QString &defaultRealm,
 
  433                                            bool maySaveResponse);
 
  436     void createAdaptor();
 
  439     friend class Adaptee;
 
  441     friend struct Private;
 
  451     static BaseChannelSecurableInterfacePtr 
create()
 
  455     template<
typename BaseChannelSecurableInterfaceSub
class>
 
  459                 new BaseChannelSecurableInterfaceSubclass());
 
  464     QVariantMap immutableProperties() 
const;
 
  466     bool encrypted() 
const;
 
  467     void setEncrypted(
bool encrypted);
 
  469     bool verified() 
const;
 
  470     void setVerified(
bool verified);
 
  476     void createAdaptor();
 
  479     friend class Adaptee;
 
  481     friend struct Private;
 
  491     static BaseChannelChatStateInterfacePtr 
create()
 
  495     template<
typename BaseChannelChatStateInterfaceSub
class>
 
  499                 new BaseChannelChatStateInterfaceSubclass());
 
  504     QVariantMap immutableProperties() 
const;
 
  511     void setChatState(uint state, 
DBusError *error);
 
  513     void chatStateChanged(uint contact, uint state);
 
  519     void createAdaptor();
 
  522     friend class Adaptee;
 
  524     friend struct Private;
 
  537     template<
typename BaseChannelGroupInterfaceSub
class>
 
  540                    new BaseChannelGroupInterfaceSubclass(initialFlags, selfHandle));
 
  544     QVariantMap immutableProperties() 
const;
 
  553     void addMembers(
const Tp::UIntList &handles, 
const QStringList &identifiers);
 
  559     void createAdaptor();
 
  562     friend class Adaptee;
 
  564     friend struct Private;
 
  574     static BaseChannelRoomInterfacePtr 
create(
const QString &roomName,
 
  575                                               const QString &server,
 
  576                                               const QString &creator,
 
  578                                               const QDateTime &creationTimestamp)
 
  586     template<
typename BaseChannelRoomInterfaceSub
class>
 
  588                                                               const QString &server,
 
  589                                                               const QString &creator,
 
  591                                                               const QDateTime &creationTimestamp)
 
  594                 new BaseChannelRoomInterfaceSubclass(roomName,
 
  603     QVariantMap immutableProperties() 
const;
 
  605     QString roomName() 
const;
 
  606     QString server() 
const;
 
  607     QString creator() 
const;
 
  608     uint creatorHandle() 
const;
 
  609     QDateTime creationTimestamp() 
const;
 
  613                              const QString &server,
 
  614                              const QString &creator,
 
  616                              const QDateTime &creationTimestamp);
 
  619     void createAdaptor();
 
  622     friend class Adaptee;
 
  624     friend struct Private;
 
  634     static BaseChannelRoomConfigInterfacePtr 
create()
 
  638     template<
typename BaseChannelRoomConfigInterfaceSub
class>
 
  642                 new BaseChannelRoomConfigInterfaceSubclass());
 
  647     QVariantMap immutableProperties() 
const;
 
  649     bool anonymous() 
const;
 
  650     void setAnonymous(
bool anonymous);
 
  652     bool inviteOnly() 
const;
 
  653     void setInviteOnly(
bool inviteOnly);
 
  656     void setLimit(uint limit);
 
  658     bool moderated() 
const;
 
  659     void setModerated(
bool moderated);
 
  661     QString title() 
const;
 
  662     void setTitle(
const QString &title);
 
  664     QString description() 
const;
 
  665     void setDescription(
const QString &description);
 
  667     bool persistent() 
const;
 
  668     void setPersistent(
bool persistent);
 
  670     bool isPrivate() 
const;
 
  671     void setPrivate(
bool newPrivate);
 
  673     bool passwordProtected() 
const;
 
  674     void setPasswordProtected(
bool passwordProtected);
 
  676     QString password() 
const;
 
  677     void setPassword(
const QString &password);
 
  679     QString passwordHint() 
const;
 
  680     void setPasswordHint(
const QString &passwordHint);
 
  682     bool canUpdateConfiguration() 
const;
 
  683     void setCanUpdateConfiguration(
bool canUpdateConfiguration);
 
  685     QStringList mutableProperties() 
const;
 
  686     void setMutableProperties(
const QStringList &mutableProperties);
 
  688     bool configurationRetrieved() 
const;
 
  689     void setConfigurationRetrieved(
bool configurationRetrieved);
 
  693     void updateConfiguration(
const QVariantMap &properties, 
DBusError *error);
 
  699     void createAdaptor();
 
  702     friend class Adaptee;
 
  704     friend struct Private;
 
  715                                          uint initialTransport,
 
  718                                          QString initialAudioName,
 
  719                                          QString initialVideoName,
 
  720                                          bool mutableContents = 
false) {
 
  730     template<
typename BaseChannelCallTypeSub
class>
 
  732                                                          uint initialTransport,
 
  735                                                          QString initialAudioName,
 
  736                                                          QString initialVideoName,
 
  737                                                          bool mutableContents = 
false) {
 
  739                    new BaseChannelCallTypeSubclass(channel,
 
  757     QVariantMap immutableProperties() 
const;
 
  760     QVariantMap callStateDetails();
 
  764     bool hardwareStreaming();
 
  767     uint initialTransport();
 
  770     QString initialAudioName();
 
  771     QString initialVideoName();
 
  772     bool mutableContents();
 
  792     void addContent(BaseCallContentPtr content);
 
  798                         bool hardwareStreaming,
 
  799                         uint initialTransport,
 
  802                         QString initialAudioName,
 
  803                         QString initialVideoName,
 
  804                         bool mutableContents = 
false);
 
  807     void createAdaptor();
 
  810     friend class Adaptee;
 
  812     friend struct Private;
 
  822     static BaseChannelHoldInterfacePtr 
create() {
 
  825     template<
typename BaseChannelHoldInterfaceSub
class>
 
  828                    new BaseChannelHoldInterfaceSubclass());
 
  832     QVariantMap immutableProperties() 
const;
 
  844     void createAdaptor();
 
  847     friend class Adaptee;
 
  849     friend struct Private;
 
  859     static BaseChannelMergeableConferenceInterfacePtr 
create() {
 
  862     template<
typename BaseChannelMergeableConferenceInterfaceSub
class>
 
  865                    new BaseChannelMergeableConferenceInterfaceSubclass());
 
  869     QVariantMap immutableProperties() 
const;
 
  871     void merge(
const QDBusObjectPath &channel);
 
  877     void createAdaptor();
 
  880     friend class Adaptee;
 
  882     friend struct Private;
 
  892     static BaseChannelSplittableInterfacePtr 
create() {
 
  895     template<
typename BaseChannelSplittableInterfaceSub
class>
 
  898                    new BaseChannelSplittableInterfaceSubclass());
 
  902     QVariantMap immutableProperties() 
const;
 
  910     void createAdaptor();
 
  913     friend class Adaptee;
 
  915     friend struct Private;
 
  927             QStringList initialInviteeIDs = QStringList(),
 
  928             QString invitationMessage = QString(),
 
  930         return BaseChannelConferenceInterfacePtr(
new BaseChannelConferenceInterface(initialChannels, initialInviteeHandles, initialInviteeIDs, invitationMessage, originalChannels));
 
  932     template<
typename BaseChannelConferenceInterfaceSub
class>
 
  935             QStringList initialInviteeIDs = QStringList(),
 
  936             QString invitationMessage = QString(),
 
  939                    new BaseChannelConferenceInterfaceSubclass(initialChannels, initialInviteeHandles, initialInviteeIDs, invitationMessage, originalChannels));
 
  943     QVariantMap immutableProperties() 
const;
 
  947     QStringList initialInviteeIDs() 
const;
 
  948     QString invitationMessage() 
const;
 
  951     void mergeChannel(
const QDBusObjectPath &channel, uint channelHandle, 
const QVariantMap &properties);
 
  952     void removeChannel(
const QDBusObjectPath &channel, 
const QVariantMap &details);
 
  956     void createAdaptor();
 
  959     friend class Adaptee;
 
  961     friend struct Private;
 
  971     static BaseChannelSMSInterfacePtr 
create(
bool flash, 
bool smsChannel) {
 
  974     template<
typename BaseChannelSMSInterfaceSub
class>
 
  977                    new BaseChannelSMSInterfaceSubclass(flash, smsChannel));
 
  981     QVariantMap immutableProperties() 
const;
 
  987     bool smsChannel() 
const;
 
  990     void smsChannelChanged(
bool smsChannel);
 
  994     void createAdaptor();
 
  997     friend class Adaptee;
 
  999     friend struct Private;
 
Tp::RequestableChannelClassList requestableChannelClasses
Definition: base-channel.h:138
Callback2< void, const QByteArray &, DBusError * > RespondCallback
Definition: base-channel.h:412
Callback3< void, uint, const QString &, DBusError * > CancelCaptchaCallback
Definition: base-channel.h:324
MediaStreamType
Definition: build/TelepathyQt/_gen/constants.h:2716
HandleType
Definition: build/TelepathyQt/_gen/constants.h:1375
CreateChannelCallback createChannel
Definition: base-channel.h:750
Base class for implementations of Channel.Interface.Securable. 
Definition: base-channel.h:445
Callback3< void, const Tp::LocalHoldState &, const Tp::LocalHoldStateReason &, DBusError * > SetHoldStateCallback
Definition: base-channel.h:838
Base class for D-Bus service interfaces. 
Definition: dbus-service.h:73
static BaseChannelGroupInterfacePtr create(ChannelGroupFlags initialFlags, uint selfHandle)
Definition: base-channel.h:534
static BaseChannelPtr create(BaseConnection *connection, const QString &channelType, Tp::HandleType targetHandleType=Tp::HandleTypeNone, uint targetHandle=0)
Definition: base-channel.h:48
Base class for Connection implementations. 
Definition: base-connection.h:44
Callback3< QByteArray, uint, const QString &, DBusError * > GetCaptchaDataCallback
Definition: base-channel.h:318
Callback3< QString, const Tp::MessagePartList &, uint, DBusError * > SendMessageCallback
Definition: base-channel.h:197
Callback2< void, const QString &, DBusError * > StartMechanismCallback
Definition: base-channel.h:404
Base class for implementations of Channel.Interface.Hold. 
Definition: base-channel.h:816
static SharedPtr< BaseChannelMergeableConferenceInterfaceSubclass > create()
Definition: base-channel.h:863
Callback1< void, DBusError * > SetQueuedCallback
Definition: base-channel.h:783
static BaseChannelRoomListTypePtr create(const QString &server=QString())
Definition: base-channel.h:225
Base class for implementations of Channel.Interface.Conference. 
Definition: base-channel.h:919
static SharedPtr< BaseChannelSplittableInterfaceSubclass > create()
Definition: base-channel.h:896
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:933
QList< RoomInfo > RoomInfoList
Definition: build/TelepathyQt/_gen/types.h:2690
Base class for all the Channel object interface implementations. 
Definition: base-channel.h:95
static BaseChannelTextTypePtr create(BaseChannel *channel)
Definition: base-channel.h:119
static SharedPtr< BaseChannelChatStateInterfaceSubclass > create()
Definition: base-channel.h:496
Callback2< bool, const QVariantMap &, DBusError * > EnsureChannelCallback
Definition: base-channel.h:752
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:365
Callback3< void, const Tp::UIntList &, const QString &, DBusError * > RemoveMembersCallback
Definition: base-channel.h:546
static BaseChannelRoomConfigInterfacePtr create()
Definition: base-channel.h:634
static BaseChannelRoomInterfacePtr create(const QString &roomName, const QString &server, const QString &creator, uint creatorHandle, const QDateTime &creationTimestamp)
Definition: base-channel.h:574
Callback1< void, DBusError * > AcceptSASLCallback
Definition: base-channel.h:416
Definition: build/TelepathyQt/_gen/types.h:320
static BaseChannelSplittableInterfacePtr create()
Definition: base-channel.h:892
Callback4< QDBusObjectPath, const QString &, const Tp::MediaStreamType &, const Tp::MediaStreamDirection &, DBusError * > AddContentCallback
Definition: base-channel.h:786
Callback2< void, const Tp::CaptchaAnswers &, DBusError * > AnswerCaptchasCallback
Definition: base-channel.h:321
Base class for D-Bus services. 
Definition: dbus-service.h:46
Base class for implementations of Channel.Interface.CaptchaAuthentication. 
Definition: base-channel.h:297
Base class for implementations of Channel.Interface.RoomConfig1. 
Definition: base-channel.h:628
Definition: build/TelepathyQt/_gen/types.h:101
The SharedPtr class is a pointer to an explicitly shared object. 
Definition: shared-ptr.h:39
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:925
Callback1< void, DBusError * > SetRingingCallback
Definition: base-channel.h:780
QList< RequestableChannelClass > RequestableChannelClassList
Definition: build/TelepathyQt/_gen/types.h:2621
QList< MessagePartList > MessagePartListList
Definition: build/TelepathyQt/_gen/types.h:2039
Base class for implementations of Channel.Interface.SASLAuthentication. 
Definition: base-channel.h:342
static SharedPtr< BaseChannelSMSInterfaceSubclass > create(bool flash, bool smsChannel)
Definition: base-channel.h:975
static BaseChannelMessagesInterfacePtr create(BaseChannelTextType *textTypeInterface, QStringList supportedContentTypes, UIntList messageTypes, uint messagePartSupportFlags, uint deliveryReportingSupport)
Definition: base-channel.h:169
static SharedPtr< BaseChannelSecurableInterfaceSubclass > create()
Definition: base-channel.h:456
Base class for implementations of Channel.Type.Text. 
Definition: base-channel.h:113
Callback2< QDBusObjectPath, const QVariantMap &, DBusError * > CreateChannelCallback
Definition: base-channel.h:128
EnsureChannelCallback ensureChannel
Definition: base-channel.h:753
QList< MessagePart > MessagePartList
Definition: build/TelepathyQt/_gen/types.h:2031
Base class for implementations of Channel.Interface.SMS. 
Definition: base-channel.h:965
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:348
Base class for implementations of Channel.Interface.Chat.State. 
Definition: base-channel.h:485
EnsureChannelCallback ensureChannel
Definition: base-channel.h:132
Callback2< void, const Tp::MessagePartList &, DBusError * > GetSMSLengthCallback
Definition: base-channel.h:983
Definition: build/TelepathyQt/_gen/types.h:81
static BaseChannelChatStateInterfacePtr create()
Definition: base-channel.h:491
static SharedPtr< BaseChannelHoldInterfaceSubclass > create()
Definition: base-channel.h:826
CreateChannelCallback createChannel
Definition: base-channel.h:129
Base class for implementations of Channel.Interface.Messages. 
Definition: base-channel.h:163
Callback2< void, uint, DBusError * > SetChatStateCallback
Definition: base-channel.h:509
Tp::RequestableChannelClassList requestableChannelClasses
Definition: base-channel.h:794
Callback3< void, uint, const QString &, DBusError * > AbortSASLCallback
Definition: base-channel.h:420
static SharedPtr< BaseChannelServerAuthenticationTypeSubclass > create(const QString &authenticationMethod)
Definition: base-channel.h:278
static BaseChannelMergeableConferenceInterfacePtr create()
Definition: base-channel.h:859
static BaseChannelSecurableInterfacePtr create()
Definition: base-channel.h:451
Small container class, containing a D-Bus error. 
Definition: dbus-error.h:35
Callback1< void, QString > MessageAcknowledgedCallback
Definition: base-channel.h:140
Callback1< void, DBusError * > ListRoomsCallback
Definition: base-channel.h:245
Definition: build/TelepathyQt/_gen/types.h:907
MediaStreamDirection
Definition: build/TelepathyQt/_gen/constants.h:2777
Definition: build/TelepathyQt/_gen/types.h:287
static SharedPtr< BaseChannelRoomInterfaceSubclass > create(const QString &roomName, const QString &server, const QString &creator, uint creatorHandle, const QDateTime &creationTimestamp)
Definition: base-channel.h:587
static SharedPtr< BaseChannelRoomConfigInterfaceSubclass > create()
Definition: base-channel.h:639
Base class for implementations of Channel.Interface.Splittable. 
Definition: base-channel.h:886
Definition: build/TelepathyQt/_gen/constants.h:1382
static BaseChannelCaptchaAuthenticationInterfacePtr create(bool canRetryCaptcha)
Definition: base-channel.h:303
Base class for implementations of Channel.Type.Call. 
Definition: base-channel.h:708
Base class for implementations of Channel.Type.ServerAuthentifcation. 
Definition: base-channel.h:268
Callback3< void, const QString &, const QByteArray &, DBusError * > StartMechanismWithDataCallback
Definition: base-channel.h:408
Definition: build/TelepathyQt/_gen/types.h:1646
Callback1< void, DBusError * > SplitCallback
Definition: base-channel.h:906
Callback1< void, DBusError * > StopListingCallback
Definition: base-channel.h:249
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:731
Callback4< void, Tp::CaptchaInfoList &, uint &, QString &, DBusError * > GetCaptchasCallback
Definition: base-channel.h:315
QFlags< ChannelGroupFlag > ChannelGroupFlags
Definition: build/TelepathyQt/_gen/constants.h:1043
static SharedPtr< BaseChannelRoomListTypeSubclass > create(const QString &server=QString())
Definition: base-channel.h:230
Base class for implementations of Channel.Type.RoomList. 
Definition: base-channel.h:219
static SharedPtr< BaseChannelCaptchaAuthenticationInterfaceSubclass > create(bool canRetryCaptcha)
Definition: base-channel.h:307
static SharedPtr< BaseChannelTextTypeSubclass > create(BaseChannel *channel)
Definition: base-channel.h:123
static BaseChannelCallTypePtr create(BaseChannel *channel, bool hardwareStreaming, uint initialTransport, bool initialAudio, bool initialVideo, QString initialAudioName, QString initialVideoName, bool mutableContents=false)
Definition: base-channel.h:714
LocalHoldState
Definition: build/TelepathyQt/_gen/constants.h:3466
Definition: build/TelepathyQt/_gen/types.h:752
Callback1< void, DBusError * > AcceptCallback
Definition: base-channel.h:774
static BaseChannelSMSInterfacePtr create(bool flash, bool smsChannel)
Definition: base-channel.h:971
static SharedPtr< BaseChannelMessagesInterfaceSubclass > create()
Definition: base-channel.h:181
static BaseChannelHoldInterfacePtr create()
Definition: base-channel.h:822
CallState
Definition: build/TelepathyQt/_gen/constants.h:2286
Definition: build/TelepathyQt/_gen/types.h:885
static SharedPtr< BaseChannelGroupInterfaceSubclass > create(ChannelGroupFlags initialFlags, uint selfHandle)
Definition: base-channel.h:538
Base class for channel implementations. 
Definition: base-channel.h:42
Base class for implementations of Channel.Interface.MergeableConference. 
Definition: base-channel.h:853
Base class for implementations of Channel.Interface.Group. 
Definition: base-channel.h:528
Callback2< bool, const QVariantMap &, DBusError * > EnsureChannelCallback
Definition: base-channel.h:131
Callback3< void, const Tp::UIntList &, const QString &, DBusError * > AddMembersCallback
Definition: base-channel.h:549
LocalHoldStateReason
Definition: build/TelepathyQt/_gen/constants.h:3516
Callback4< void, uint, const QString &, const QString &, DBusError * > HangupCallback
Definition: base-channel.h:777
Callback2< void, const QVariantMap &, DBusError * > UpdateConfigurationCallback
Definition: base-channel.h:691
Callback2< QDBusObjectPath, const QVariantMap &, DBusError * > CreateChannelCallback
Definition: base-channel.h:749
static BaseChannelServerAuthenticationTypePtr create(const QString &authenticationMethod)
Definition: base-channel.h:274
Callback2< void, const QDBusObjectPath &, DBusError * > MergeCallback
Definition: base-channel.h:873
Base class for implementations of Channel.Interface.Room2. 
Definition: base-channel.h:568