00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _TelepathyQt4_manager_file_h_HEADER_GUARD_
00023 #define _TelepathyQt4_manager_file_h_HEADER_GUARD_
00024
00025 #ifndef IN_TELEPATHY_QT4_HEADER
00026 #error IN_TELEPATHY_QT4_HEADER
00027 #endif
00028
00029 #include <QVariant>
00030
00031 #include <TelepathyQt4/Types>
00032
00033 class QString;
00034
00035 namespace Telepathy
00036 {
00037
00038 class ManagerFile
00039 {
00040 public:
00041 ManagerFile(const QString &cmName);
00042 ~ManagerFile();
00043
00044 QString cmName() const;
00045
00046 bool isValid() const;
00047 QStringList protocols() const;
00048 ParamSpecList parameters(const QString &protocol) const;
00049
00050 static QVariant::Type variantTypeFromDBusSignature(const QString &signature);
00051
00052 private:
00053 Q_DISABLE_COPY(ManagerFile);
00054
00055 struct Private;
00056 Private *mPriv;
00057 };
00058
00059 }
00060
00061 #endif