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/DoricNativeLog.h

18 lines
316 B
C
Raw Normal View History

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