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));
   142     QVariantMap immutableProperties() 
const;
   147     void setMessageAcknowledgedCallback(
const MessageAcknowledgedCallback &cb);
   154     void sent(uint timestamp, uint type, QString text);
   160     void createAdaptor();
   163     friend class Adaptee;
   165     friend struct Private;
   176             QStringList supportedContentTypes,
   178             uint messagePartSupportFlags,
   179             uint deliveryReportingSupport) {
   181                                                supportedContentTypes,
   183                                                messagePartSupportFlags,
   184                                                deliveryReportingSupport));
   186     template<
typename BaseChannelMessagesInterfaceSub
class>
   189                    new BaseChannelMessagesInterfaceSubclass());
   193     QVariantMap immutableProperties() 
const;
   195     QStringList supportedContentTypes();
   197     uint messagePartSupportFlags();
   198     uint deliveryReportingSupport();
   201     void messageSent(
const Tp::MessagePartList &content, uint flags, 
const QString &messageToken);
   204     void setSendMessageCallback(
const SendMessageCallback &cb);
   208     void pendingMessagesRemoved(
const Tp::UIntList &messageIDs);
   212                                  QStringList supportedContentTypes,
   214                                  uint messagePartSupportFlags,
   215                                  uint deliveryReportingSupport);
   216     void createAdaptor();
   219     friend class Adaptee;
   221     friend struct Private;
   236     static BaseChannelFileTransferTypePtr 
create(
const QVariantMap &request)
   240     template<
typename BaseChannelFileTransferTypeSub
class>
   244                 new BaseChannelFileTransferTypeSubclass(request));
   249     QVariantMap immutableProperties() 
const;
   252     QString contentType() 
const;
   253     QString filename() 
const;
   254     qulonglong size() 
const;
   255     uint contentHashType() 
const;
   256     QString contentHash() 
const;
   257     QString description() 
const;
   258     QDateTime date() 
const;
   262     void setState(uint state, uint reason);
   264     qulonglong transferredBytes() 
const;
   265     void setTransferredBytes(qulonglong count);
   266     qulonglong initialOffset() 
const;
   270     QString fileCollection() 
const;
   271     void setFileCollection(
const QString &fileCollection);
   273     bool remoteAcceptFile(QIODevice *output, qulonglong offset);
   274     bool remoteProvideFile(QIODevice *input, qulonglong deviceOffset = 0);
   277     void stateChanged(uint state, uint reason);
   278     void uriDefined(
const QString &uri);
   283     virtual bool createSocket(uint addressType, uint accessControl, 
const QDBusVariant &accessControlParam, 
DBusError *error);
   284     virtual QDBusVariant socketAddress() 
const;
   286     void setClientSocket(QIODevice *socket);
   291     TP_QT_NO_EXPORT 
void onSocketConnection();
   292     TP_QT_NO_EXPORT 
void doTransfer();
   293     TP_QT_NO_EXPORT 
void onBytesWritten(qint64 count);
   296     TP_QT_NO_EXPORT 
void setUri(
const QString &uri);
   297     TP_QT_NO_EXPORT 
void tryToOpenAndTransfer();
   299     void createAdaptor();
   302     friend class Adaptee;
   304     friend struct Private;
   314     static BaseChannelRoomListTypePtr 
create(
const QString &server = QString())
   318     template<
typename BaseChannelRoomListTypeSub
class>
   322                 new BaseChannelRoomListTypeSubclass(server));
   327     QVariantMap immutableProperties() 
const;
   329     QString server() 
const;
   331     bool getListingRooms();
   332     void setListingRooms(
bool listing);
   335     void setListRoomsCallback(
const ListRoomsCallback &cb);
   339     void setStopListingCallback(
const StopListingCallback &cb);
   348     void createAdaptor();
   351     friend class Adaptee;
   353     friend struct Private;
   363     static BaseChannelServerAuthenticationTypePtr 
create(
const QString &authenticationMethod) {
   366     template<
typename BaseChannelServerAuthenticationTypeSub
class>
   369                    new BaseChannelServerAuthenticationTypeSubclass(authenticationMethod));
   373     QVariantMap immutableProperties() 
const;
   377     void createAdaptor();
   380     friend class Adaptee;
   382     friend struct Private;
   392     static BaseChannelCaptchaAuthenticationInterfacePtr 
create(
bool canRetryCaptcha) {
   395     template<
typename BaseChannelCaptchaAuthenticationInterfaceSub
class>
   398                    new BaseChannelCaptchaAuthenticationInterfaceSubclass(canRetryCaptcha));
   402     QVariantMap immutableProperties() 
const;
   405     void setGetCaptchasCallback(
const GetCaptchasCallback &cb);
   408     void setGetCaptchaDataCallback(
const GetCaptchaDataCallback &cb);
   411     void setAnswerCaptchasCallback(
const AnswerCaptchasCallback &cb);
   414     void setCancelCaptchaCallback(
const CancelCaptchaCallback &cb);
   416     void setCaptchaStatus(uint status);
   417     void setCaptchaError(
const QString &busName);
   418     void setCaptchaErrorDetails(
const QVariantMap &error);
   422     void createAdaptor();
   425     friend class Adaptee;
   427     friend struct Private;
   437     static BaseChannelSASLAuthenticationInterfacePtr 
create(
const QStringList &availableMechanisms,
   440                                                             const QString &authorizationIdentity,
   441                                                             const QString &defaultUsername,
   442                                                             const QString &defaultRealm,
   443                                                             bool maySaveResponse)
   448                                                                                                     authorizationIdentity,
   453     template<
typename BaseChannelSASLAuthenticationInterfaceSub
class>
   457                                                                             const QString &authorizationIdentity,
   458                                                                             const QString &defaultUsername,
   459                                                                             const QString &defaultRealm,
   460                                                                             bool maySaveResponse)
   463                 new BaseChannelSASLAuthenticationInterfaceSubclass(availableMechanisms,
   466                                                                    authorizationIdentity,
   474     QVariantMap immutableProperties() 
const;
   476     QStringList availableMechanisms() 
const;
   477     bool hasInitialData() 
const;
   478     bool canTryAgain() 
const;
   479     QString authorizationIdentity() 
const;
   480     QString defaultUsername() 
const;
   481     QString defaultRealm() 
const;
   482     bool maySaveResponse() 
const;
   484     uint saslStatus() 
const;
   485     void setSaslStatus(uint status, 
const QString &reason, 
const QVariantMap &details);
   487     QString saslError() 
const;
   488     void setSaslError(
const QString &saslError);
   490     QVariantMap saslErrorDetails() 
const;
   491     void setSaslErrorDetails(
const QVariantMap &saslErrorDetails);
   494     void setStartMechanismCallback(
const StartMechanismCallback &cb);
   495     void startMechanism(
const QString &mechanism, 
DBusError *error);
   498     void setStartMechanismWithDataCallback(
const StartMechanismWithDataCallback &cb);
   499     void startMechanismWithData(
const QString &mechanism, 
const QByteArray &initialData, 
DBusError *error);
   502     void setRespondCallback(
const RespondCallback &cb);
   503     void respond(
const QByteArray &responseData, 
DBusError *error);
   506     void setAcceptSaslCallback(
const AcceptSASLCallback &cb);
   510     void setAbortSaslCallback(
const AbortSASLCallback &cb);
   511     void abortSasl(uint reason, 
const QString &debugMessage, 
DBusError *error);
   513     void newChallenge(
const QByteArray &challengeData);
   519                                            const QString &authorizationIdentity,
   520                                            const QString &defaultUsername,
   521                                            const QString &defaultRealm,
   522                                            bool maySaveResponse);
   525     void createAdaptor();
   528     friend class Adaptee;
   530     friend struct Private;
   540     static BaseChannelSecurableInterfacePtr 
create()
   544     template<
typename BaseChannelSecurableInterfaceSub
class>
   548                 new BaseChannelSecurableInterfaceSubclass());
   553     QVariantMap immutableProperties() 
const;
   555     bool encrypted() 
const;
   556     void setEncrypted(
bool encrypted);
   558     bool verified() 
const;
   559     void setVerified(
bool verified);
   565     void createAdaptor();
   568     friend class Adaptee;
   570     friend struct Private;
   580     static BaseChannelChatStateInterfacePtr 
create()
   584     template<
typename BaseChannelChatStateInterfaceSub
class>
   588                 new BaseChannelChatStateInterfaceSubclass());
   593     QVariantMap immutableProperties() 
const;
   599     void setSetChatStateCallback(
const SetChatStateCallback &cb);
   600     void setChatState(uint state, 
DBusError *error);
   602     void chatStateChanged(uint contact, uint state);
   608     void createAdaptor();
   611     friend class Adaptee;
   613     friend struct Private;
   623     static BaseChannelGroupInterfacePtr 
create()
   627     template<
typename BaseChannelGroupInterfaceSub
class>
   631                 new BaseChannelGroupInterfaceSubclass());
   636     QVariantMap immutableProperties() 
const;
   642     void setMembers(
const Tp::UIntList &members, 
const QVariantMap &details);
   652     void setRemotePendingMembers(
const Tp::UIntList &remotePendingMembers);
   654     uint selfHandle() 
const;
   655     void setSelfHandle(uint selfHandle);
   660     void setAddMembersCallback(
const AddMembersCallback &cb);
   664     void setRemoveMembersCallback(
const RemoveMembersCallback &cb);
   665     void removeMembers(
const Tp::UIntList &contacts, 
const QString &message, uint reason, 
DBusError *error);
   672     void createAdaptor();
   675     friend class Adaptee;
   677     friend struct Private;
   687     static BaseChannelRoomInterfacePtr 
create(
const QString &roomName,
   688                                               const QString &server,
   689                                               const QString &creator,
   691                                               const QDateTime &creationTimestamp)
   699     template<
typename BaseChannelRoomInterfaceSub
class>
   701                                                               const QString &server,
   702                                                               const QString &creator,
   704                                                               const QDateTime &creationTimestamp)
   707                 new BaseChannelRoomInterfaceSubclass(roomName,
   716     QVariantMap immutableProperties() 
const;
   718     QString roomName() 
const;
   719     QString server() 
const;
   720     QString creator() 
const;
   721     uint creatorHandle() 
const;
   722     QDateTime creationTimestamp() 
const;
   726                              const QString &server,
   727                              const QString &creator,
   729                              const QDateTime &creationTimestamp);
   732     void createAdaptor();
   735     friend class Adaptee;
   737     friend struct Private;
   747     static BaseChannelRoomConfigInterfacePtr 
create()
   751     template<
typename BaseChannelRoomConfigInterfaceSub
class>
   755                 new BaseChannelRoomConfigInterfaceSubclass());
   760     QVariantMap immutableProperties() 
const;
   762     bool anonymous() 
const;
   763     void setAnonymous(
bool anonymous);
   765     bool inviteOnly() 
const;
   766     void setInviteOnly(
bool inviteOnly);
   769     void setLimit(uint limit);
   771     bool moderated() 
const;
   772     void setModerated(
bool moderated);
   774     QString title() 
const;
   775     void setTitle(
const QString &title);
   777     QString description() 
const;
   778     void setDescription(
const QString &description);
   780     bool persistent() 
const;
   781     void setPersistent(
bool persistent);
   783     bool isPrivate() 
const;
   784     void setPrivate(
bool newPrivate);
   786     bool passwordProtected() 
const;
   787     void setPasswordProtected(
bool passwordProtected);
   789     QString password() 
const;
   790     void setPassword(
const QString &password);
   792     QString passwordHint() 
const;
   793     void setPasswordHint(
const QString &passwordHint);
   795     bool canUpdateConfiguration() 
const;
   796     void setCanUpdateConfiguration(
bool canUpdateConfiguration);
   798     QStringList mutableProperties() 
const;
   799     void setMutableProperties(
const QStringList &mutableProperties);
   801     bool configurationRetrieved() 
const;
   802     void setConfigurationRetrieved(
bool configurationRetrieved);
   805     void setUpdateConfigurationCallback(
const UpdateConfigurationCallback &cb);
   806     void updateConfiguration(
const QVariantMap &properties, 
DBusError *error);
   812     void createAdaptor();
   815     friend class Adaptee;
   817     friend struct Private;
   828                                          uint initialTransport,
   831                                          QString initialAudioName,
   832                                          QString initialVideoName,
   833                                          bool mutableContents = 
false) {
   843     template<
typename BaseChannelCallTypeSub
class>
   845                                                          uint initialTransport,
   848                                                          QString initialAudioName,
   849                                                          QString initialVideoName,
   850                                                          bool mutableContents = 
false) {
   852                    new BaseChannelCallTypeSubclass(channel,
   870     QVariantMap immutableProperties() 
const;
   873     QVariantMap callStateDetails();
   877     bool hardwareStreaming();
   880     uint initialTransport();
   883     QString initialAudioName();
   884     QString initialVideoName();
   885     bool mutableContents();
   888     void setAcceptCallback(
const AcceptCallback &cb);
   891     void setHangupCallback(
const HangupCallback &cb);
   894     void setSetRingingCallback(
const SetRingingCallback &cb);
   897     void setSetQueuedCallback(
const SetQueuedCallback &cb);
   900     void setAddContentCallback(
const AddContentCallback &cb);
   905     void addContent(BaseCallContentPtr content);
   911                         bool hardwareStreaming,
   912                         uint initialTransport,
   915                         QString initialAudioName,
   916                         QString initialVideoName,
   917                         bool mutableContents = 
false);
   920     void createAdaptor();
   923     friend class Adaptee;
   925     friend struct Private;
   935     static BaseChannelHoldInterfacePtr 
create() {
   938     template<
typename BaseChannelHoldInterfaceSub
class>
   941                    new BaseChannelHoldInterfaceSubclass());
   945     QVariantMap immutableProperties() 
const;
   952     void setSetHoldStateCallback(
const SetHoldStateCallback &cb);
   957     void createAdaptor();
   960     friend class Adaptee;
   962     friend struct Private;
   972     static BaseChannelMergeableConferenceInterfacePtr 
create() {
   975     template<
typename BaseChannelMergeableConferenceInterfaceSub
class>
   978                    new BaseChannelMergeableConferenceInterfaceSubclass());
   982     QVariantMap immutableProperties() 
const;
   984     void merge(
const QDBusObjectPath &channel);
   987     void setMergeCallback(
const MergeCallback &cb);
   990     void createAdaptor();
   993     friend class Adaptee;
   995     friend struct Private;
  1005     static BaseChannelSplittableInterfacePtr 
create() {
  1008     template<
typename BaseChannelSplittableInterfaceSub
class>
  1011                    new BaseChannelSplittableInterfaceSubclass());
  1015     QVariantMap immutableProperties() 
const;
  1020     void setSplitCallback(
const SplitCallback &cb);
  1023     void createAdaptor();
  1026     friend class Adaptee;
  1028     friend struct Private;
  1040             QStringList initialInviteeIDs = QStringList(),
  1041             QString invitationMessage = QString(),
  1043         return BaseChannelConferenceInterfacePtr(
new BaseChannelConferenceInterface(initialChannels, initialInviteeHandles, initialInviteeIDs, invitationMessage, originalChannels));
  1045     template<
typename BaseChannelConferenceInterfaceSub
class>
  1048             QStringList initialInviteeIDs = QStringList(),
  1049             QString invitationMessage = QString(),
  1052                    new BaseChannelConferenceInterfaceSubclass(initialChannels, initialInviteeHandles, initialInviteeIDs, invitationMessage, originalChannels));
  1056     QVariantMap immutableProperties() 
const;
  1060     QStringList initialInviteeIDs() 
const;
  1061     QString invitationMessage() 
const;
  1064     void mergeChannel(
const QDBusObjectPath &channel, uint channelHandle, 
const QVariantMap &properties);
  1065     void removeChannel(
const QDBusObjectPath &channel, 
const QVariantMap &details);
  1069     void createAdaptor();
  1072     friend class Adaptee;
  1074     friend struct Private;
  1084     static BaseChannelSMSInterfacePtr 
create(
bool flash, 
bool smsChannel) {
  1087     template<
typename BaseChannelSMSInterfaceSub
class>
  1090                    new BaseChannelSMSInterfaceSubclass(flash, smsChannel));
  1094     QVariantMap immutableProperties() 
const;
  1097     void setGetSMSLengthCallback(
const GetSMSLengthCallback &cb);
  1100     bool smsChannel() 
const;
  1103     void smsChannelChanged(
bool smsChannel);
  1107     void createAdaptor();
  1110     friend class Adaptee;
  1112     friend struct Private;
 Callback1< void, DBusError * > SetQueuedCallback
Definition: base-channel.h:896
MediaStreamDirection
Definition: build/TelepathyQt/_gen/constants.h:2777
QList< MessagePartList > MessagePartListList
Definition: build/TelepathyQt/_gen/types.h:2048
Direction
Definition: base-channel.h:231
Callback3< QByteArray, uint, const QString &, DBusError * > GetCaptchaDataCallback
Definition: base-channel.h:407
CreateChannelCallback createChannel
Definition: base-channel.h:863
Callback1< void, DBusError * > StopListingCallback
Definition: base-channel.h:338
static SharedPtr< BaseChannelTextTypeSubclass > create(BaseChannel *channel)
Definition: base-channel.h:129
static BaseChannelCaptchaAuthenticationInterfacePtr create(bool canRetryCaptcha)
Definition: base-channel.h:392
Tp::RequestableChannelClassList requestableChannelClasses
Definition: base-channel.h:144
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:844
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:454
static BaseChannelFileTransferTypePtr create(const QVariantMap &request)
Definition: base-channel.h:236
static SharedPtr< BaseChannelMessagesInterfaceSubclass > create()
Definition: base-channel.h:187
Base class for implementations of Channel.Type.Text. 
Definition: base-channel.h:119
static SharedPtr< BaseChannelSecurableInterfaceSubclass > create()
Definition: base-channel.h:545
Callback3< void, const QString &, const QByteArray &, DBusError * > StartMechanismWithDataCallback
Definition: base-channel.h:497
static BaseChannelMessagesInterfacePtr create(BaseChannelTextType *textTypeInterface, QStringList supportedContentTypes, UIntList messageTypes, uint messagePartSupportFlags, uint deliveryReportingSupport)
Definition: base-channel.h:175
Base class for implementations of Channel.Interface.Group. 
Definition: base-channel.h:617
Definition: build/TelepathyQt/_gen/types.h:1655
Base class for all the Channel object interface implementations. 
Definition: base-channel.h:97
Definition: base-channel.h:232
Callback1< void, QString > MessageAcknowledgedCallback
Definition: base-channel.h:146
static SharedPtr< BaseChannelSplittableInterfaceSubclass > create()
Definition: base-channel.h:1009
static SharedPtr< BaseChannelServerAuthenticationTypeSubclass > create(const QString &authenticationMethod)
Definition: base-channel.h:367
EnsureChannelCallback ensureChannel
Definition: base-channel.h:866
Base class for implementations of Channel.Interface.Messages. 
Definition: base-channel.h:169
Callback3< void, uint, const QString &, DBusError * > CancelCaptchaCallback
Definition: base-channel.h:413
static SharedPtr< BaseChannelChatStateInterfaceSubclass > create()
Definition: base-channel.h:585
Callback2< void, const QString &, DBusError * > StartMechanismCallback
Definition: base-channel.h:493
Definition: build/TelepathyQt/_gen/types.h:84
Base class for implementations of Channel.Interface.Securable. 
Definition: base-channel.h:534
Callback3< void, const Tp::UIntList &, const QString &, DBusError * > AddMembersCallback
Definition: base-channel.h:659
Callback2< void, const QByteArray &, DBusError * > RespondCallback
Definition: base-channel.h:501
Callback1< void, DBusError * > AcceptSASLCallback
Definition: base-channel.h:505
Base class for implementations of Channel.Type.RoomList. 
Definition: base-channel.h:308
Base class for D-Bus services. 
Definition: dbus-service.h:46
Base class for channel implementations. 
Definition: base-channel.h:42
static SharedPtr< BaseChannelSMSInterfaceSubclass > create(bool flash, bool smsChannel)
Definition: base-channel.h:1088
Base class for D-Bus service interfaces. 
Definition: dbus-service.h:73
static BaseChannelMergeableConferenceInterfacePtr create()
Definition: base-channel.h:972
static BaseChannelHoldInterfacePtr create()
Definition: base-channel.h:935
Base class for implementations of Channel.Interface.Splittable. 
Definition: base-channel.h:999
static SharedPtr< BaseChannelCaptchaAuthenticationInterfaceSubclass > create(bool canRetryCaptcha)
Definition: base-channel.h:396
Callback4< void, const Tp::UIntList &, const QString &, uint, DBusError * > RemoveMembersCallback
Definition: base-channel.h:663
static BaseChannelTextTypePtr create(BaseChannel *channel)
Definition: base-channel.h:125
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:437
Base class of Channel.Type.FileTransfer channel type. 
Definition: base-channel.h:225
Callback2< QDBusObjectPath, const QVariantMap &, DBusError * > CreateChannelCallback
Definition: base-channel.h:862
Callback2< void, const QVariantMap &, DBusError * > UpdateConfigurationCallback
Definition: base-channel.h:804
MediaStreamType
Definition: build/TelepathyQt/_gen/constants.h:2716
static SharedPtr< BaseChannelGroupInterfaceSubclass > create()
Definition: base-channel.h:628
Callback2< void, const Tp::MessagePartList &, DBusError * > GetSMSLengthCallback
Definition: base-channel.h:1096
static SharedPtr< BaseChannelHoldInterfaceSubclass > create()
Definition: base-channel.h:939
Callback1< void, DBusError * > SplitCallback
Definition: base-channel.h:1019
Small container class, containing a D-Bus error. 
Definition: dbus-error.h:35
static BaseChannelCallTypePtr create(BaseChannel *channel, bool hardwareStreaming, uint initialTransport, bool initialAudio, bool initialVideo, QString initialAudioName, QString initialVideoName, bool mutableContents=false)
Definition: base-channel.h:827
Definition: build/TelepathyQt/_gen/types.h:3109
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:1038
Base class for implementations of Channel.Interface.SASLAuthentication. 
Definition: base-channel.h:431
static BaseChannelPtr create(BaseConnection *connection, const QString &channelType, Tp::HandleType targetHandleType=Tp::HandleTypeNone, uint targetHandle=0)
Definition: base-channel.h:48
Callback1< void, DBusError * > SetRingingCallback
Definition: base-channel.h:893
Base class for implementations of Channel.Interface.Room2. 
Definition: base-channel.h:681
static SharedPtr< BaseChannelRoomInterfaceSubclass > create(const QString &roomName, const QString &server, const QString &creator, uint creatorHandle, const QDateTime &creationTimestamp)
Definition: base-channel.h:700
Definition: build/TelepathyQt/_gen/types.h:894
static SharedPtr< BaseChannelFileTransferTypeSubclass > create(const QVariantMap &request)
Definition: base-channel.h:241
static SharedPtr< BaseChannelRoomListTypeSubclass > create(const QString &server=QString())
Definition: base-channel.h:319
Definition: build/TelepathyQt/_gen/types.h:329
static BaseChannelSMSInterfacePtr create(bool flash, bool smsChannel)
Definition: base-channel.h:1084
CallState
Definition: build/TelepathyQt/_gen/constants.h:2286
Callback2< void, const QDBusObjectPath &, DBusError * > MergeCallback
Definition: base-channel.h:986
Base class for implementations of Channel.Interface.MergeableConference. 
Definition: base-channel.h:966
Definition: build/TelepathyQt/_gen/types.h:107
Callback4< void, uint, const QString &, const QString &, DBusError * > HangupCallback
Definition: base-channel.h:890
Definition: build/TelepathyQt/_gen/types.h:761
static BaseChannelRoomInterfacePtr create(const QString &roomName, const QString &server, const QString &creator, uint creatorHandle, const QDateTime &creationTimestamp)
Definition: base-channel.h:687
QList< RequestableChannelClass > RequestableChannelClassList
Definition: build/TelepathyQt/_gen/types.h:2630
LocalHoldState
Definition: build/TelepathyQt/_gen/constants.h:3466
QList< LocalPendingInfo > LocalPendingInfoList
Definition: build/TelepathyQt/_gen/types.h:1734
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:1046
Base class for implementations of Channel.Interface.SMS. 
Definition: base-channel.h:1078
QList< RoomInfo > RoomInfoList
Definition: build/TelepathyQt/_gen/types.h:2699
Base class for implementations of Channel.Interface.Conference. 
Definition: base-channel.h:1032
Callback2< void, const Tp::CaptchaAnswers &, DBusError * > AnswerCaptchasCallback
Definition: base-channel.h:410
Definition: build/TelepathyQt/_gen/constants.h:1382
HandleType
Definition: build/TelepathyQt/_gen/constants.h:1375
Definition: abstract-adaptor.cpp:31
EnsureChannelCallback ensureChannel
Definition: base-channel.h:138
Base class for implementations of Channel.Interface.CaptchaAuthentication. 
Definition: base-channel.h:386
static BaseChannelRoomListTypePtr create(const QString &server=QString())
Definition: base-channel.h:314
Definition: build/TelepathyQt/_gen/types.h:916
Callback1< void, DBusError * > AcceptCallback
Definition: base-channel.h:887
static SharedPtr< BaseChannelRoomConfigInterfaceSubclass > create()
Definition: base-channel.h:752
Definition: build/TelepathyQt/_gen/types.h:296
Base class for Connection implementations. 
Definition: base-connection.h:44
Callback2< void, uint, DBusError * > SetChatStateCallback
Definition: base-channel.h:598
Base class for implementations of Channel.Interface.Hold. 
Definition: base-channel.h:929
Callback2< bool, const QVariantMap &, DBusError * > EnsureChannelCallback
Definition: base-channel.h:137
static BaseChannelSplittableInterfacePtr create()
Definition: base-channel.h:1005
Callback1< void, DBusError * > ListRoomsCallback
Definition: base-channel.h:334
Callback2< bool, const QVariantMap &, DBusError * > EnsureChannelCallback
Definition: base-channel.h:865
Callback2< QDBusObjectPath, const QVariantMap &, DBusError * > CreateChannelCallback
Definition: base-channel.h:134
QList< MessagePart > MessagePartList
Definition: build/TelepathyQt/_gen/types.h:2040
QFlags< ChannelGroupFlag > ChannelGroupFlags
Definition: build/TelepathyQt/_gen/constants.h:1043
static BaseChannelSecurableInterfacePtr create()
Definition: base-channel.h:540
static BaseChannelServerAuthenticationTypePtr create(const QString &authenticationMethod)
Definition: base-channel.h:363
Base class for implementations of Channel.Interface.RoomConfig1. 
Definition: base-channel.h:741
Callback3< void, const Tp::LocalHoldState &, const Tp::LocalHoldStateReason &, DBusError * > SetHoldStateCallback
Definition: base-channel.h:951
LocalHoldStateReason
Definition: build/TelepathyQt/_gen/constants.h:3516
static BaseChannelChatStateInterfacePtr create()
Definition: base-channel.h:580
Callback4< QDBusObjectPath, const QString &, const Tp::MediaStreamType &, const Tp::MediaStreamDirection &, DBusError * > AddContentCallback
Definition: base-channel.h:899
Callback3< QString, const Tp::MessagePartList &, uint, DBusError * > SendMessageCallback
Definition: base-channel.h:203
Base class for implementations of Channel.Type.ServerAuthentifcation. 
Definition: base-channel.h:357
CreateChannelCallback createChannel
Definition: base-channel.h:135
static BaseChannelRoomConfigInterfacePtr create()
Definition: base-channel.h:747
The SharedPtr class is a pointer to an explicitly shared object. 
Definition: shared-ptr.h:39
Callback3< void, uint, const QString &, DBusError * > AbortSASLCallback
Definition: base-channel.h:509
static BaseChannelGroupInterfacePtr create()
Definition: base-channel.h:623
Base class for implementations of Channel.Interface.Chat.State. 
Definition: base-channel.h:574
Callback4< void, Tp::CaptchaInfoList &, uint &, QString &, DBusError * > GetCaptchasCallback
Definition: base-channel.h:404
Tp::RequestableChannelClassList requestableChannelClasses
Definition: base-channel.h:907
static SharedPtr< BaseChannelMergeableConferenceInterfaceSubclass > create()
Definition: base-channel.h:976
Definition: build/TelepathyQt/_gen/types.h:1677
Base class for implementations of Channel.Type.Call. 
Definition: base-channel.h:821