add shader plugin register

This commit is contained in:
王劲鹏
2019-12-14 11:30:12 +08:00
parent 5ca6c19e20
commit fe1a556ad8
7 changed files with 17 additions and 5 deletions

View File

@@ -7,12 +7,15 @@
#include "native/native_empty.h"
#include "native/native_log.h"
#include "native/native_timer.h"
#include "registry.h"
class JSEngine {
public:
QJSEngine *engine = new QJSEngine();
Registry *registry = new Registry();
JSEngine();
void prepareContext(int contextId, QString *script);