| 1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
| 2 | // |
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 4 | |
| 5 | #ifndef STDINJSONRPCPARSER_H |
| 6 | #define STDINJSONRPCPARSER_H |
| 7 | |
| 8 | #include "stdinreadloop.h" |
| 9 | |
| 10 | namespace newlsp { |
| 11 | |
| 12 | class JsonRpcParser; |
| 13 | class StdinJsonRpcParserPrivate; |
| 14 | class StdinJsonRpcParser : public StdinReadLoop |
| 15 | { |
| 16 | Q_OBJECT |
| 17 | JsonRpcParser *const d; |
| 18 | public: |
| 19 | StdinJsonRpcParser(); |
| 20 | virtual ~StdinJsonRpcParser(); |
| 21 | |
| 22 | Q_SIGNALS: |
| 23 | void readedJsonObject(const QJsonObject &); |
| 24 | }; |
| 25 | |
| 26 | } |
| 27 | #endif // STDINREADLOOP_H |
| 28 | |