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/DoricNativeRequire.h
2021-05-20 18:27:45 +08:00

18 lines
318 B
C++

#ifndef NATIVE_REQUIRE_H
#define NATIVE_REQUIRE_H
#include <QObject>
#include "DoricExport.h"
class DORIC_EXPORT DoricNativeRequire : public QObject {
Q_OBJECT
public:
DoricNativeRequire(QObject *parent = nullptr) : QObject(parent) {}
Q_INVOKABLE void function(QString name);
};
#endif // NATIVE_REQUIRE_H