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

incoming-dbus-tube-channel.h

    00001
    00022 #ifndef _TelepathyQt_incoming_dbus_tube_channel_h_HEADER_GUARD_
    00023 #define _TelepathyQt_incoming_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 IncomingDBusTubeChannel : public DBusTubeChannel
    00036 {
    00037     Q_OBJECT
    00038     Q_DISABLE_COPY(IncomingDBusTubeChannel)
    00039
    00040 public:
    00041     static IncomingDBusTubeChannelPtr create(const ConnectionPtr &connection,
    00042             const QString &objectPath, const QVariantMap &immutableProperties);
    00043
    00044     virtual ~IncomingDBusTubeChannel();
    00045
    00046     PendingDBusTubeConnection *acceptTube(bool allowOtherUsers = false);
    00047
    00048 protected:
    00049     IncomingDBusTubeChannel(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
    00061 #endif