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

connection-capabilities.h

00001 
00023 #ifndef _TelepathyQt4_connection_capabilities_h_HEADER_GUARD_
00024 #define _TelepathyQt4_connection_capabilities_h_HEADER_GUARD_
00025 
00026 #ifndef IN_TELEPATHY_QT4_HEADER
00027 #error IN_TELEPATHY_QT4_HEADER
00028 #endif
00029 
00030 #include <TelepathyQt4/CapabilitiesBase>
00031 #include <TelepathyQt4/Types>
00032 
00033 namespace Tp
00034 {
00035 
00036 class TELEPATHY_QT4_EXPORT ConnectionCapabilities : public CapabilitiesBase
00037 {
00038 public:
00039     ConnectionCapabilities();
00040     virtual ~ConnectionCapabilities();
00041 
00042     bool textChatrooms() const;
00043 
00044     bool conferenceStreamedMediaCalls() const;
00045     bool conferenceStreamedMediaCallsWithInvitees() const;
00046     bool conferenceTextChats() const;
00047     bool conferenceTextChatsWithInvitees() const;
00048     bool conferenceTextChatrooms() const;
00049     bool conferenceTextChatroomsWithInvitees() const;
00050 
00051     bool contactSearches() const;
00052     bool contactSearchesWithSpecificServer() const;
00053     bool contactSearchesWithLimit() const;
00054 
00055     TELEPATHY_QT4_DEPRECATED bool contactSearch();
00056     TELEPATHY_QT4_DEPRECATED bool contactSearchWithSpecificServer() const;
00057     TELEPATHY_QT4_DEPRECATED bool contactSearchWithLimit() const;
00058 
00059     bool streamTubes() const;
00060 
00061 private:
00062     friend class Account;
00063     friend class Connection;
00064     friend class ProtocolInfo;
00065 
00066     TELEPATHY_QT4_NO_EXPORT ConnectionCapabilities(const RequestableChannelClassList &rccs);
00067     TELEPATHY_QT4_NO_EXPORT ConnectionCapabilities(const RequestableChannelClassSpecList &rccSpecs);
00068 };
00069 
00070 } // Tp
00071 
00072 Q_DECLARE_METATYPE(Tp::ConnectionCapabilities);
00073 
00074 #endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.5.12