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

contact-capabilities.h

00001 
00022 #ifndef _TelepathyQt4Yell_contact_capabilities_h_HEADER_GUARD_
00023 #define _TelepathyQt4Yell_contact_capabilities_h_HEADER_GUARD_
00024 
00025 #ifndef IN_TELEPATHY_QT4_YELL_HEADER
00026 #error IN_TELEPATHY_QT4_YELL_HEADER
00027 #endif
00028 
00029 #include <TelepathyQt4/ContactCapabilities>
00030 #include <TelepathyQt4/Types>
00031 #include <TelepathyQt4Yell/Types>
00032 
00033 namespace Tpy
00034 {
00035 
00036 class TELEPATHY_QT4_YELL_EXPORT ContactCapabilities : public Tp::ContactCapabilities
00037 {
00038 public:
00039     ContactCapabilities();
00040     virtual ~ContactCapabilities();
00041 
00042     bool mediaCalls() const;
00043     bool audioCalls() const;
00044     bool videoCalls() const;
00045     bool videoCallsWithAudio() const;
00046     bool upgradingCalls() const;
00047 
00048 protected:
00049     friend class ContactModelItem;
00050 
00051     ContactCapabilities(bool specificToContact);
00052     ContactCapabilities(const Tp::RequestableChannelClassList &rccs,
00053             bool specificToContact);
00054     ContactCapabilities(const Tp::RequestableChannelClassSpecList &rccSpecs,
00055             bool specificToContact);
00056 };
00057 
00058 } // Tpy
00059 
00060 Q_DECLARE_METATYPE(Tpy::ContactCapabilities);
00061 
00062 #endif


Copyright © 2008-2010 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4-Yell 0.1.6