add command
This commit is contained in:
@@ -34,3 +34,7 @@ void DoricShaderPlugin::render(QString jsValueString, QString callbackId) {
|
||||
},
|
||||
DoricThreadMode::UI);
|
||||
}
|
||||
|
||||
void DoricShaderPlugin::command(QString jsValueString, QString callbackId) {
|
||||
qCritical() << "command: " << jsValueString << " " << callbackId;
|
||||
}
|
||||
|
@@ -11,6 +11,8 @@ public:
|
||||
using DoricNativePlugin::DoricNativePlugin;
|
||||
|
||||
Q_INVOKABLE void render(QString jsValueString, QString callbackId);
|
||||
|
||||
Q_INVOKABLE void command(QString jsValueString, QString callbackId);
|
||||
};
|
||||
|
||||
#endif // SHADERPLUGIN_H
|
||||
|
Reference in New Issue
Block a user