22 #ifndef _TelepathyQt_outgoing_stream_tube_channel_h_HEADER_GUARD_
23 #define _TelepathyQt_outgoing_stream_tube_channel_h_HEADER_GUARD_
25 #ifndef IN_TP_QT_HEADER
26 #error IN_TP_QT_HEADER
29 #include <TelepathyQt/StreamTubeChannel>
30 #include <TelepathyQt/PendingOperation>
47 static OutgoingStreamTubeChannelPtr create(
const ConnectionPtr &connection,
48 const QString &objectPath,
const QVariantMap &immutableProperties);
53 const QVariantMap ¶meters = QVariantMap());
55 const QVariantMap ¶meters = QVariantMap());
58 const QVariantMap ¶meters = QVariantMap(),
bool requireCredentials =
false);
60 const QVariantMap ¶meters = QVariantMap(),
bool requireCredentials =
false);
62 QHash<uint, Tp::ContactPtr> contactsForConnections()
const;
64 QHash<QPair<QHostAddress,quint16>, uint> connectionsForSourceAddresses()
const;
65 QHash<uchar, uint> connectionsForCredentials()
const;
69 const QVariantMap &immutableProperties,
73 TP_QT_NO_EXPORT
void onNewRemoteConnection(uint contactId,
74 const QDBusVariant ¶meter, uint connectionId);
75 TP_QT_NO_EXPORT
void onContactsRetrieved(
const QUuid &uuid,
76 const QList<Tp::ContactPtr> &contacts);
77 TP_QT_NO_EXPORT
void onConnectionClosed(uint connectionId,
78 const QString &errorName,
const QString &errorMessage);
82 friend struct PendingOpenTube;
83 friend struct Private;
The OutgoingStreamTubeChannel class represents an outgoing Telepathy channel of type StreamTube...
Definition: outgoing-stream-tube-channel.h:39
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The StreamTubeChannel class represents a Telepathy channel of type StreamTube.
Definition: stream-tube-channel.h:36
static const Feature FeatureCore
Definition: outgoing-stream-tube-channel.h:45