00001
00023 #ifndef _TelepathyQt4_connection_manager_lowlevel_h_HEADER_GUARD_
00024 #define _TelepathyQt4_connection_manager_lowlevel_h_HEADER_GUARD_
00025
00026 #ifndef IN_TELEPATHY_QT4_HEADER
00027 #error IN_TELEPATHY_QT4_HEADER
00028 #endif
00029
00030 #include <TelepathyQt4/Constants>
00031 #include <TelepathyQt4/Types>
00032
00033 namespace Tp
00034 {
00035
00036 class PendingConnection;
00037
00038 class TELEPATHY_QT4_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 ¶meters);
00051
00052 private:
00053 friend class ConnectionManager;
00054
00055 TELEPATHY_QT4_NO_EXPORT ConnectionManagerLowlevel(ConnectionManager *parent);
00056
00057 struct Private;
00058 friend struct Private;
00059 Private *mPriv;
00060 };
00061
00062 }
00063
00064 #endif