MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9
   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 TestBackdoors;
00037 
00038 class TELEPATHY_QT4_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     TELEPATHY_QT4_DEPRECATED bool contactSearch();
00058     TELEPATHY_QT4_DEPRECATED bool contactSearchWithSpecificServer() const;
00059     TELEPATHY_QT4_DEPRECATED bool contactSearchWithLimit() const;
00060 
00061     bool streamTubes() const;
00062 
00063 protected:
00064     friend class Account;
00065     friend class Connection;
00066     friend class ProtocolInfo;
00067     friend class TestBackdoors;
00068 
00069     ConnectionCapabilities(const RequestableChannelClassList &rccs);
00070     ConnectionCapabilities(const RequestableChannelClassSpecList &rccSpecs);
00071 };
00072 
00073 } // Tp
00074 
00075 Q_DECLARE_METATYPE(Tp::ConnectionCapabilities);
00076 
00077 #endif

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