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

contact-capabilities.h
1
23 #ifndef _TelepathyQt_contact_capabilities_h_HEADER_GUARD_
24 #define _TelepathyQt_contact_capabilities_h_HEADER_GUARD_
25
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29
30 #include <TelepathyQt/CapabilitiesBase>
31 #include <TelepathyQt/Types>
32
33 namespace Tp
34 {
35
36 class TestBackdoors;
37
38 class TP_QT_EXPORT ContactCapabilities : public CapabilitiesBase
39 {
40 public:
41 ContactCapabilities();
42 virtual ~ContactCapabilities();
43
44 bool dbusTubes(const QString &serviceName) const;
45 QStringList dbusTubeServices() const;
46
47 bool streamTubes(const QString &service) const;
48 QStringList streamTubeServices() const;
49
50 // later:
51 // bool dbusTubes(const QString &service) const;
52 // QStringList dbusTubeServices() const;
53
54 protected:
55 friend class Contact;
56 friend class TestBackdoors;
57
58 ContactCapabilities(bool specificToContact);
59 ContactCapabilities(const RequestableChannelClassList &rccs,
60 bool specificToContact);
61 ContactCapabilities(const RequestableChannelClassSpecList &rccSpecs,
62 bool specificToContact);
63 };
64
65 } // Tp
66
67 Q_DECLARE_METATYPE(Tp::ContactCapabilities);
68
69 #endif
QString
QList
QStringList
Tp::ContactCapabilities
The ContactCapabilities class represents the capabilities of a Contact.
Definition: contact-capabilities.h:38
Tp::CapabilitiesBase
The CapabilitiesBase class represents the capabilities a Connection or a Contact supports.
Definition: capabilities-base.h:36
Tp::Contact
The Contact class represents a Telepathy contact.
Definition: contact.h:51
Tp::RequestableChannelClassSpecList
The RequestableChannelClassSpecList class represents a list of RequestableChannelClassSpec.
Definition: requestable-channel-class-spec.h:101
Tp
Definition: abstract-adaptor.cpp:31