16 lines
270 B
C++
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
|