| 1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. | 
|---|
| 2 | // | 
|---|
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later | 
|---|
| 4 |  | 
|---|
| 5 | #ifndef RUNTIMECFGPROVIDER_H | 
|---|
| 6 | #define RUNTIMECFGPROVIDER_H | 
|---|
| 7 |  | 
|---|
| 8 | #include "dap/types.h" | 
|---|
| 9 | #include "dap/protocol.h" | 
|---|
| 10 |  | 
|---|
| 11 | #include <QObject> | 
|---|
| 12 |  | 
|---|
| 13 | class RunTimeCfgProvider : public QObject | 
|---|
| 14 | { | 
|---|
| 15 | Q_OBJECT | 
|---|
| 16 | public: | 
|---|
| 17 | explicit RunTimeCfgProvider(QObject *parent = nullptr); | 
|---|
| 18 |  | 
|---|
| 19 | const char *ip() const; | 
|---|
| 20 |  | 
|---|
| 21 | dap::InitializeRequest initalizeRequest(); | 
|---|
| 22 |  | 
|---|
| 23 | signals: | 
|---|
| 24 |  | 
|---|
| 25 | public slots: | 
|---|
| 26 |  | 
|---|
| 27 | private: | 
|---|
| 28 | }; | 
|---|
| 29 |  | 
|---|
| 30 | #endif // RUNTIMECFGPROVIDER_H | 
|---|
| 31 |  | 
|---|