ctkServiceReference.h 437 B

1234567891011121314151617181920212223242526272829
  1. #ifndef CTKSERVICEREFERENCE_H
  2. #define CTKSERVICEREFERENCE_H
  3. #include <QVariant>
  4. #include "ctkPlugin.h"
  5. namespace ctk {
  6. class ServiceReference {
  7. public:
  8. QVariant getProperty(const QString& key) const;
  9. QStringList getPropertyKeys() const;
  10. Plugin* getPlugin() const;
  11. QList<Plugin*> getUsingPlugins() const;
  12. bool operator<(const ServiceReference& reference) const;
  13. };
  14. }
  15. #endif // CTKSERVICEREFERENCE_H