rename dir
This commit is contained in:
16
doric-Qt/doric/native/native_bridge.h
Normal file
16
doric-Qt/doric/native/native_bridge.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef NATIVE_BRIDGE_H
|
||||
#define NATIVE_BRIDGE_H
|
||||
|
||||
#include <QJSValue>
|
||||
#include <QObject>
|
||||
|
||||
class NativeBridge : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
NativeBridge(QObject *parent = nullptr) : QObject(parent) {}
|
||||
|
||||
Q_INVOKABLE void function(int contextId, QString module, QString methodName, QString callbackId, QJSValue jsValue);
|
||||
};
|
||||
|
||||
#endif // NATIVE_BRIDGE_H
|
||||
Reference in New Issue
Block a user