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

connection-capabilities.h
1
23 #ifndef _TelepathyQt_connection_capabilities_h_HEADER_GUARD_
24 #define _TelepathyQt_connection_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 ConnectionCapabilities : public CapabilitiesBase
39 {
40 public:
41 ConnectionCapabilities();
42 virtual ~ConnectionCapabilities();
43
44 bool textChatrooms() const;
45
46 TP_QT_DEPRECATED bool conferenceStreamedMediaCalls() const;
47 TP_QT_DEPRECATED bool conferenceStreamedMediaCallsWithInvitees() const;
48 bool conferenceTextChats() const;
49 bool conferenceTextChatsWithInvitees() const;
50 bool conferenceTextChatrooms() const;
51 bool conferenceTextChatroomsWithInvitees() const;
52
53 bool contactSearches() const;
54 bool contactSearchesWithSpecificServer() const;
55 bool contactSearchesWithLimit() const;
56
57 bool dbusTubes() const;
58 bool streamTubes() const;
59
60 protected:
61 friend class Account;
62 friend class Connection;
63 friend class ProtocolInfo;
64 friend class TestBackdoors;
65
66 ConnectionCapabilities(const RequestableChannelClassList &rccs);
67 ConnectionCapabilities(const RequestableChannelClassSpecList &rccSpecs);
68 };
69
70 } // Tp
71
72 Q_DECLARE_METATYPE(Tp::ConnectionCapabilities);
73
74 #endif
Tp::Connection
The Connection class represents a Telepathy connection.
Definition: connection.h:61
Tp::ProtocolInfo
The ProtocolInfo class represents a Telepathy Protocol.
Definition: protocol-info.h:46
QList
Tp::Account
The Account class represents a Telepathy account.
Definition: account.h:68
Tp::CapabilitiesBase
The CapabilitiesBase class represents the capabilities a Connection or a Contact supports.
Definition: capabilities-base.h:36
Tp::ConnectionCapabilities
The ConnectionCapabilities class represents the capabilities of a Connection.
Definition: connection-capabilities.h:38
Tp::RequestableChannelClassSpecList
The RequestableChannelClassSpecList class represents a list of RequestableChannelClassSpec.
Definition: requestable-channel-class-spec.h:101
Tp
Definition: abstract-adaptor.cpp:31