code format & class prefix
This commit is contained in:
17
doric-Qt/doric/engine/DoricBridgeExtension.h
Normal file
17
doric-Qt/doric/engine/DoricBridgeExtension.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef BRIDGEEXTENSION_H
|
||||
#define BRIDGEEXTENSION_H
|
||||
|
||||
#include <QJSValue>
|
||||
#include <QObject>
|
||||
|
||||
class DoricBridgeExtension : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DoricBridgeExtension(QObject *parent = nullptr);
|
||||
|
||||
Q_INVOKABLE void callNative(QString contextId, QString module,
|
||||
QString methodName, QString callbackId,
|
||||
QJSValue jsValue);
|
||||
};
|
||||
|
||||
#endif // BRIDGEEXTENSION_H
|
||||
Reference in New Issue
Block a user