| 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     TP_QT_DEPRECATED bool conferenceStreamedMediaCalls() const;
    00047     TP_QT_DEPRECATED 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 dbusTubes() const;
    00058     bool streamTubes() const;
    00059
    00060 protected:
    00061     friend class Account;
    00062     friend class Connection;
    00063     friend class ProtocolInfo;
    00064     friend class TestBackdoors;
    00065
    00066     ConnectionCapabilities(const RequestableChannelClassList &rccs);
    00067     ConnectionCapabilities(const RequestableChannelClassSpecList &rccSpecs);
    00068 };
    00069
    00070 } // Tp
    00071
    00072 Q_DECLARE_METATYPE(Tp::ConnectionCapabilities);
    00073
    00074 #endif