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

outgoing-dbus-tube-channel.h

    00001
    00022 #ifndef _TelepathyQt_outgoing_dbus_tube_channel_h_HEADER_GUARD_
    00023 #define _TelepathyQt_outgoing_dbus_tube_channel_h_HEADER_GUARD_
    00024
    00025 #ifndef IN_TP_QT_HEADER
    00026 #error IN_TP_QT_HEADER
    00027 #endif
    00028
    00029 #include <TelepathyQt/DBusTubeChannel>
    00030
    00031 namespace Tp {
    00032
    00033 class PendingDBusTubeConnection;
    00034
    00035 class TP_QT_EXPORT OutgoingDBusTubeChannel : public DBusTubeChannel
    00036 {
    00037     Q_OBJECT
    00038     Q_DISABLE_COPY(OutgoingDBusTubeChannel)
    00039
    00040 public:
    00041     static OutgoingDBusTubeChannelPtr create(const ConnectionPtr &connection,
    00042             const QString &objectPath, const QVariantMap &immutableProperties);
    00043
    00044     virtual ~OutgoingDBusTubeChannel();
    00045
    00046     PendingDBusTubeConnection *offerTube(const QVariantMap &parameters, bool allowOtherUsers = false);
    00047
    00048 protected:
    00049     OutgoingDBusTubeChannel(const ConnectionPtr &connection, const QString &objectPath,
    00050             const QVariantMap &immutableProperties);
    00051
    00052 private:
    00053     struct Private;
    00054     friend struct Private;
    00055     Private *mPriv;
    00056 };
    00057
    00058 }
    00059
    00060 #endif