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

connection-manager-lowlevel.h

    00001
    00023 #ifndef _TelepathyQt_connection_manager_lowlevel_h_HEADER_GUARD_
    00024 #define _TelepathyQt_connection_manager_lowlevel_h_HEADER_GUARD_
    00025
    00026 #ifndef IN_TP_QT_HEADER
    00027 #error IN_TP_QT_HEADER
    00028 #endif
    00029
    00030 #include <TelepathyQt/Constants>
    00031 #include <TelepathyQt/Types>
    00032
    00033 namespace Tp
    00034 {
    00035
    00036 class PendingConnection;
    00037
    00038 class TP_QT_EXPORT ConnectionManagerLowlevel : public QObject, public RefCounted
    00039 {
    00040     Q_OBJECT
    00041     Q_DISABLE_COPY(ConnectionManagerLowlevel)
    00042
    00043 public:
    00044     ~ConnectionManagerLowlevel();
    00045
    00046     bool isValid() const;
    00047     ConnectionManagerPtr connectionManager() const;
    00048
    00049     PendingConnection *requestConnection(const QString &protocolName,
    00050             const QVariantMap &parameters);
    00051
    00052 private:
    00053     friend class ConnectionManager;
    00054
    00055     TP_QT_NO_EXPORT ConnectionManagerLowlevel(ConnectionManager *parent);
    00056
    00057     struct Private;
    00058     friend struct Private;
    00059     Private *mPriv;
    00060 };
    00061
    00062 } // Tp
    00063
    00064 #endif