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

connection-capabilities.h

    00001
    00023 #ifndef _TelepathyQt_connection_capabilities_h_HEADER_GUARD_
    00024 #define _TelepathyQt_connection_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 ConnectionCapabilities : public CapabilitiesBase
    00039 {
    00040 public:
    00041     ConnectionCapabilities();
    00042     virtual ~ConnectionCapabilities();
    00043
    00044     bool textChatrooms() const;
    00045
    00046     bool conferenceStreamedMediaCalls() const;
    00047     bool conferenceStreamedMediaCallsWithInvitees() const;
    00048     bool conferenceTextChats() const;
    00049     bool conferenceTextChatsWithInvitees() const;
    00050     bool conferenceTextChatrooms() const;
    00051     bool conferenceTextChatroomsWithInvitees() const;
    00052
    00053     bool contactSearches() const;
    00054     bool contactSearchesWithSpecificServer() const;
    00055     bool contactSearchesWithLimit() const;
    00056
    00057     bool streamTubes() const;
    00058
    00059 protected:
    00060     friend class Account;
    00061     friend class Connection;
    00062     friend class ProtocolInfo;
    00063     friend class TestBackdoors;
    00064
    00065     ConnectionCapabilities(const RequestableChannelClassList &rccs);
    00066     ConnectionCapabilities(const RequestableChannelClassSpecList &rccSpecs);
    00067 };
    00068
    00069 } // Tp
    00070
    00071 Q_DECLARE_METATYPE(Tp::ConnectionCapabilities);
    00072
    00073 #endif