| 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 streamTubes(const QString &service) const;
    00045     QStringList streamTubeServices() const;
    00046
    00047     // later:
    00048     // bool dbusTubes(const QString &service) const;
    00049     // QStringList dbusTubeServices() const;
    00050
    00051 protected:
    00052     friend class Contact;
    00053     friend class TestBackdoors;
    00054
    00055     ContactCapabilities(bool specificToContact);
    00056     ContactCapabilities(const RequestableChannelClassList &rccs,
    00057             bool specificToContact);
    00058     ContactCapabilities(const RequestableChannelClassSpecList &rccSpecs,
    00059             bool specificToContact);
    00060 };
    00061
    00062 } // Tp
    00063
    00064 Q_DECLARE_METATYPE(Tp::ContactCapabilities);
    00065
    00066 #endif