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

18 lines
318 B
C
Raw Normal View History

2021-02-04 16:59:58 +08:00
#ifndef NATIVE_REQUIRE_H
#define NATIVE_REQUIRE_H
#include <QObject>
2021-05-18 16:15:28 +08:00
#include "DoricExport.h"
class DORIC_EXPORT DoricNativeRequire : public QObject {
2021-02-04 16:59:58 +08:00
Q_OBJECT
public:
DoricNativeRequire(QObject *parent = nullptr) : QObject(parent) {}
2021-04-02 15:16:18 +08:00
Q_INVOKABLE void function(QString name);
2021-02-04 16:59:58 +08:00
};
#endif // NATIVE_REQUIRE_H