00001
00023 #ifndef _TelepathyQt_manager_file_h_HEADER_GUARD_
00024 #define _TelepathyQt_manager_file_h_HEADER_GUARD_
00025
00026 #include <TelepathyQt/AvatarSpec>
00027 #include <TelepathyQt/PresenceSpec>
00028 #include <TelepathyQt/Types>
00029
00030 #include <QMetaType>
00031 #include <QVariant>
00032
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034
00035 namespace Tp
00036 {
00037
00038 class TP_QT_NO_EXPORT ManagerFile
00039 {
00040 public:
00041 ManagerFile();
00042 ManagerFile(const ManagerFile &other);
00043 ManagerFile(const QString &cmName);
00044 ~ManagerFile();
00045
00046 ManagerFile &operator=(const ManagerFile &other);
00047
00048 QString cmName() const;
00049
00050 bool isValid() const;
00051 QStringList protocols() const;
00052 ParamSpecList parameters(const QString &protocol) const;
00053 QString vcardField(const QString &protocol) const;
00054 QString englishName(const QString &protocol) const;
00055 QString iconName(const QString &protocol) const;
00056 RequestableChannelClassList requestableChannelClasses(
00057 const QString &protocol) const;
00058 PresenceSpecList allowedPresenceStatuses(const QString &protocol) const;
00059 AvatarSpec avatarRequirements(const QString &protocol) const;
00060 QStringList addressableVCardFields(const QString &protocol) const;
00061 QStringList addressableUriSchemes(const QString &protocol) const;
00062
00063 private:
00064 struct Private;
00065 friend struct Private;
00066 Private *mPriv;
00067 };
00068
00069 }
00070
00071 Q_DECLARE_METATYPE(Tp::ManagerFile);
00072
00073 #endif
00074
00075 #endif