2018-04-07 22:01:54 +02:00
|
|
|
#ifndef CLI_JS_CONSOLE_H
|
|
|
|
#define CLI_JS_CONSOLE_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
class JSConsole : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit JSConsole(QObject *parent = nullptr);
|
|
|
|
|
2020-03-08 13:50:32 +01:00
|
|
|
public Q_SLOTS:
|
2018-04-07 22:01:54 +02:00
|
|
|
void log(const QString &msg) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CLI_JS_CONSOLE_H
|