Home · All Classes · All Namespaces · Modules · Functions · Files
outgoing-dbus-tube-channel.h
1 
22 #ifndef _TelepathyQt_outgoing_dbus_tube_channel_h_HEADER_GUARD_
23 #define _TelepathyQt_outgoing_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 OutgoingDBusTubeChannel : public DBusTubeChannel
36 {
37  Q_OBJECT
38  Q_DISABLE_COPY(OutgoingDBusTubeChannel)
39 
40 public:
41  static OutgoingDBusTubeChannelPtr create(const ConnectionPtr &connection,
42  const QString &objectPath, const QVariantMap &immutableProperties);
43 
44  virtual ~OutgoingDBusTubeChannel();
45 
46  PendingDBusTubeConnection *offerTube(const QVariantMap &parameters, bool allowOtherUsers = false);
47 
48 protected:
49  OutgoingDBusTubeChannel(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 #endif
The DBusTubeChannel class represents a Telepathy channel of type DBusTube.
Definition: dbus-tube-channel.h:34
The OutgoingDBusTubeChannel class represents an outgoing Telepathy channel of type DBusTube...
Definition: outgoing-dbus-tube-channel.h:35
Definition: pending-dbus-tube-connection.h:36


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.5