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

fixed-feature-factory.h

00001 
00023 #ifndef _TelepathyQt4_fixed_feature_factory_h_HEADER_GUARD_
00024 #define _TelepathyQt4_fixed_feature_factory_h_HEADER_GUARD_
00025 
00026 #ifndef IN_TELEPATHY_QT4_HEADER
00027 #error IN_TELEPATHY_QT4_HEADER
00028 #endif
00029 
00030 #include <TelepathyQt4/Global>
00031 #include <TelepathyQt4/SharedPtr>
00032 
00033 #include <TelepathyQt4/DBusProxyFactory>
00034 
00035 class QDBusConnection;
00036 
00037 namespace Tp
00038 {
00039 
00040 class Feature;
00041 class Features;
00042 
00043 class TELEPATHY_QT4_EXPORT FixedFeatureFactory : public DBusProxyFactory
00044 {
00045     Q_OBJECT
00046     Q_DISABLE_COPY(FixedFeatureFactory)
00047 
00048 public:
00049     virtual ~FixedFeatureFactory();
00050 
00051     Features features() const;
00052 
00053     void addFeature(const Feature &feature);
00054     void addFeatures(const Features &features);
00055 
00056 protected:
00057     FixedFeatureFactory(const QDBusConnection &bus);
00058 
00059     virtual Features featuresFor(const DBusProxyPtr &proxy) const;
00060 
00061 private:
00062     struct Private;
00063     friend struct Private;
00064     Private *mPriv;
00065 };
00066 
00067 } // Tp
00068 
00069 #endif

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