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

contact-capabilities.h

    00001
    00023 #ifndef _TelepathyQt_contact_capabilities_h_HEADER_GUARD_
    00024 #define _TelepathyQt_contact_capabilities_h_HEADER_GUARD_
    00025
    00026 #ifndef IN_TP_QT_HEADER
    00027 #error IN_TP_QT_HEADER
    00028 #endif
    00029
    00030 #include <TelepathyQt/CapabilitiesBase>
    00031 #include <TelepathyQt/Types>
    00032
    00033 namespace Tp
    00034 {
    00035
    00036 class TestBackdoors;
    00037
    00038 class TP_QT_EXPORT ContactCapabilities : public CapabilitiesBase
    00039 {
    00040 public:
    00041     ContactCapabilities();
    00042     virtual ~ContactCapabilities();
    00043
    00044     bool dbusTubes(const QString &serviceName) const;
    00045     QStringList dbusTubeServices() const;
    00046
    00047     bool streamTubes(const QString &service) const;
    00048     QStringList streamTubeServices() const;
    00049
    00050     // later:
    00051     // bool dbusTubes(const QString &service) const;
    00052     // QStringList dbusTubeServices() const;
    00053
    00054 protected:
    00055     friend class Contact;
    00056     friend class TestBackdoors;
    00057
    00058     ContactCapabilities(bool specificToContact);
    00059     ContactCapabilities(const RequestableChannelClassList &rccs,
    00060             bool specificToContact);
    00061     ContactCapabilities(const RequestableChannelClassSpecList &rccSpecs,
    00062             bool specificToContact);
    00063 };
    00064
    00065 } // Tp
    00066
    00067 Q_DECLARE_METATYPE(Tp::ContactCapabilities);
    00068
    00069 #endif