This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/libnymea/experiences/experienceplugin.h
2019-11-01 20:55:02 +01:00

27 lines
479 B
C++

#ifndef EXPERIENCEPLUGIN_H
#define EXPERIENCEPLUGIN_H
#include <QObject>
class JsonHandler;
class ExperiencePlugin : public QObject
{
Q_OBJECT
public:
explicit ExperiencePlugin(QObject *parent = nullptr);
QList<JsonHandler*> jsonHandlers() const;
protected:
void registerJsonHandler(JsonHandler *handler);
private:
QList<JsonHandler*> m_jsonHandlers;
};
Q_DECLARE_INTERFACE(ExperiencePlugin, "io.nymea.ExperiencePlugin")
#endif // EXPERIENCEPLUGIN_H