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 public:
00046     virtual ~FixedFeatureFactory();
00047 
00048     Features features() const;
00049 
00050     void addFeature(const Feature &feature);
00051     void addFeatures(const Features &features);
00052 
00053 protected:
00054     FixedFeatureFactory(const QDBusConnection &bus);
00055 
00056     virtual Features featuresFor(const DBusProxyPtr &proxy) const;
00057 
00058 private:
00059     struct Private;
00060     friend struct Private;
00061     Private *mPriv;
00062 };
00063 
00064 } // Tp
00065 
00066 #endif


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