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

20 lines
474 B
C
Raw Permalink Normal View History

2021-02-04 16:59:58 +08:00
#ifndef BRIDGEEXTENSION_H
#define BRIDGEEXTENSION_H
#include <QJSValue>
#include <QObject>
2021-05-18 16:15:28 +08:00
#include "DoricExport.h"
class DORIC_EXPORT DoricBridgeExtension : public QObject {
2021-02-04 16:59:58 +08:00
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