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/native/native_log.h
2019-12-14 10:04:17 +08:00

16 lines
270 B
C++

#ifndef NATIVELOG_H
#define NATIVELOG_H
#include <QObject>
class NativeLog : public QObject {
Q_OBJECT
public:
NativeLog(QObject *parent = nullptr) : QObject(parent) {}
Q_INVOKABLE void function(QString level, QString content);
};
#endif // NATIVELOG_H