split project with app & doric module
This commit is contained in:
15
doric-Qt/example/doric/engine/DoricNativeLog.h
Normal file
15
doric-Qt/example/doric/engine/DoricNativeLog.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef NATIVE_LOG_H
|
||||
#define NATIVE_LOG_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class DoricNativeLog : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DoricNativeLog(QObject *parent = nullptr) : QObject(parent) {}
|
||||
|
||||
Q_INVOKABLE void function(QString level, QString content);
|
||||
};
|
||||
|
||||
#endif // NATIVE_LOG_H
|
||||
Reference in New Issue
Block a user