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

fixed-feature-factory.h

    00001
    00023 #ifndef _TelepathyQt_fixed_feature_factory_h_HEADER_GUARD_
    00024 #define _TelepathyQt_fixed_feature_factory_h_HEADER_GUARD_
    00025
    00026 #ifndef IN_TP_QT_HEADER
    00027 #error IN_TP_QT_HEADER
    00028 #endif
    00029
    00030 #include <TelepathyQt/Global>
    00031 #include <TelepathyQt/SharedPtr>
    00032
    00033 #include <TelepathyQt/DBusProxyFactory>
    00034
    00035 class QDBusConnection;
    00036
    00037 namespace Tp
    00038 {
    00039
    00040 class Feature;
    00041 class Features;
    00042
    00043 class TP_QT_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