This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/example/doric/engine/DoricBridgeExtension.h

18 lines
435 B
C
Raw Normal View History

2021-02-04 16:59:58 +08:00
#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,
2021-04-02 17:23:36 +08:00
QString argument);
2021-02-04 16:59:58 +08:00
};
#endif // BRIDGEEXTENSION_H