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

fixed-feature-factory.h
1
23 #ifndef _TelepathyQt_fixed_feature_factory_h_HEADER_GUARD_
24 #define _TelepathyQt_fixed_feature_factory_h_HEADER_GUARD_
25
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29
30 #include <TelepathyQt/Global>
31 #include <TelepathyQt/SharedPtr>
32
33 #include <TelepathyQt/DBusProxyFactory>
34
35 class QDBusConnection;
36
37 namespace Tp
38 {
39
40 class Feature;
41 class Features;
42
43 class TP_QT_EXPORT FixedFeatureFactory : public DBusProxyFactory
44 {
45 Q_OBJECT
46 Q_DISABLE_COPY(FixedFeatureFactory)
47
48 public:
49 virtual ~FixedFeatureFactory();
50
51 Features features() const;
52
53 void addFeature(const Feature &feature);
54 void addFeatures(const Features &features);
55
56 protected:
57 FixedFeatureFactory(const QDBusConnection &bus);
58
59 virtual Features featuresFor(const DBusProxyPtr &proxy) const;
60
61 private:
62 struct Private;
63 friend struct Private;
64 Private *mPriv;
65 };
66
67 } // Tp
68
69 #endif
QDBusConnection
Tp::Features
The Features class represents a list of Feature.
Definition: feature.h:61
Tp::Feature
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
Tp::DBusProxyFactory
The DBusProxyFactory class is a base class for all D-Bus proxy factory classes. Handles proxy caching...
Definition: dbus-proxy-factory.h:48
Tp::FixedFeatureFactory
The FixedFeatureFactory class is a base class for all D-Bus proxy factories which want the same set o...
Definition: fixed-feature-factory.h:43
Tp
Definition: abstract-adaptor.cpp:31