ctkEventBusPlugin_p.h 727 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef CTKEVENTBUSPLUGIN_H
  2. #define CTKEVENTBUSPLUGIN_H
  3. #include <ctkPluginActivator.h>
  4. #include <QServicePluginInterface>
  5. using namespace QtMobility;
  6. namespace ctk {
  7. class EventBusPlugin : public QObject,
  8. public PluginActivator,
  9. public QServicePluginInterface
  10. {
  11. Q_OBJECT
  12. Q_INTERFACES(ctk::PluginActivator QtMobility::QServicePluginInterface)
  13. public:
  14. void start(PluginContext* context);
  15. void stop(PluginContext* context);
  16. QObject* createInstance(const QServiceInterfaceDescriptor& descriptor,
  17. QServiceContext* context,
  18. QAbstractSecuritySession* session);
  19. };
  20. }
  21. #endif // CTKEVENTBUSPLUGIN_H