| Home · All Classes · All Namespaces · Modules · Functions · Files

incoming-dbus-tube-channel.h
1
22 #ifndef _TelepathyQt_incoming_dbus_tube_channel_h_HEADER_GUARD_
23 #define _TelepathyQt_incoming_dbus_tube_channel_h_HEADER_GUARD_
24
25 #ifndef IN_TP_QT_HEADER
26 #error IN_TP_QT_HEADER
27 #endif
28
29 #include <TelepathyQt/DBusTubeChannel>
30
31 namespace Tp {
32
33 class PendingDBusTubeConnection;
34
35 class TP_QT_EXPORT IncomingDBusTubeChannel : public DBusTubeChannel
36 {
37 Q_OBJECT
38 Q_DISABLE_COPY(IncomingDBusTubeChannel)
39
40 public:
41 static IncomingDBusTubeChannelPtr create(const ConnectionPtr &connection,
42 const QString &objectPath, const QVariantMap &immutableProperties);
43
44 virtual ~IncomingDBusTubeChannel();
45
46 PendingDBusTubeConnection *acceptTube(bool allowOtherUsers = false);
47
48 protected:
49 IncomingDBusTubeChannel(const ConnectionPtr &connection, const QString &objectPath,
50 const QVariantMap &immutableProperties);
51
52 private:
53 struct Private;
54 friend struct Private;
55 Private *mPriv;
56
57 };
58
59 }
60
61 #endif
Tp::PendingDBusTubeConnection
Definition: pending-dbus-tube-connection.h:36
Tp::DBusTubeChannel
The DBusTubeChannel class represents a Telepathy channel of type DBusTube.
Definition: dbus-tube-channel.h:34
Tp::IncomingDBusTubeChannel
The IncomingStreamTubeChannel class represents an incoming Telepathy channel of type StreamTube...
Definition: incoming-dbus-tube-channel.h:35