MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9
   Home · All Classes · All Namespaces · Modules · Functions · Files

contact-capabilities.h

00001 
00023 #ifndef _TelepathyQt4_contact_capabilities_h_HEADER_GUARD_
00024 #define _TelepathyQt4_contact_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 ContactCapabilities : public CapabilitiesBase
00039 {
00040 public:
00041     ContactCapabilities();
00042     virtual ~ContactCapabilities();
00043 
00044     bool streamTubes(const QString &service) const;
00045     QStringList streamTubeServices() const;
00046 
00047     // later:
00048     // bool dbusTubes(const QString &service) const;
00049     // QStringList dbusTubeServices() const;
00050 
00051 protected:
00052     friend class Contact;
00053     friend class TestBackdoors;
00054 
00055     ContactCapabilities(bool specificToContact);
00056     ContactCapabilities(const RequestableChannelClassList &rccs,
00057             bool specificToContact);
00058     ContactCapabilities(const RequestableChannelClassSpecList &rccSpecs,
00059             bool specificToContact);
00060 };
00061 
00062 } // Tp
00063 
00064 Q_DECLARE_METATYPE(Tp::ContactCapabilities);
00065 
00066 #endif

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