nngn
Loading...
Searching...
No Matches
worker.h
Go to the documentation of this file.
1#ifndef NNGN_INSPECT_WORKER_H
2#define NNGN_INSPECT_WORKER_H
3
4#include "../worker.h"
5
6class InspectWorker final : public Worker {
7 Q_OBJECT
8 enum class Command : uint8_t { QUIT = 'q', CLEAR = 'c', LINE = 'l' };
9 bool cmd(std::string_view s) final;
10 void cmd_line(std::stringstream *ss);
11signals:
12 void clear();
13 void new_line(QString s);
14};
15
16#endif
Definition: worker.h:6
bool cmd(std::string_view s) final
void new_line(QString s)
Command
Definition: worker.h:8
void cmd_line(std::stringstream *ss)
Definition: worker.h:12
std::chrono::seconds s
Definition: timing.cpp:6