Home · Modules · All Classes · All Namespaces
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:
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);
60  bool specificToContact);
62  bool specificToContact);
63 };
64 
65 } // Tp
66 
67 Q_DECLARE_METATYPE(Tp::ContactCapabilities);
68 
69 #endif
The RequestableChannelClassSpecList class represents a list of RequestableChannelClassSpec.
Definition: requestable-channel-class-spec.h:101
The ContactCapabilities class represents the capabilities of a Contact.
Definition: contact-capabilities.h:38
The CapabilitiesBase class represents the capabilities a Connection or a Contact supports.
Definition: capabilities-base.h:36
The Contact class represents a Telepathy contact.
Definition: contact.h:51
Definition: abstract-adaptor.cpp:31
QList< RequestableChannelClass > RequestableChannelClassList
Definition: build/TelepathyQt/_gen/types.h:2664