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/doric/engine/DoricNativeRequire.h

17 lines
303 B
C
Raw Normal View History

2021-02-04 16:59:58 +08:00
#ifndef NATIVE_REQUIRE_H
#define NATIVE_REQUIRE_H
#include <QJSValue>
#include <QObject>
class DoricNativeRequire : public QObject {
Q_OBJECT
public:
DoricNativeRequire(QObject *parent = nullptr) : QObject(parent) {}
Q_INVOKABLE QJSValue function(QString name);
};
#endif // NATIVE_REQUIRE_H