1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
---|---|
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef STDINREADLOOP_H |
6 | #define STDINREADLOOP_H |
7 | |
8 | #include <QThread> |
9 | |
10 | class StdinReadLoopPrivate; |
11 | class StdinReadLoop : public QThread |
12 | { |
13 | Q_OBJECT |
14 | StdinReadLoopPrivate *const d; |
15 | public: |
16 | StdinReadLoop(); |
17 | virtual ~StdinReadLoop(); |
18 | virtual void run(); |
19 | Q_SIGNALS: |
20 | void readedLine(const QByteArray &); |
21 | }; |
22 | |
23 | #endif // STDINREADLOOP_H |
24 |