File indexing completed on 2024-05-12 05:51:07

0001 /*
0002     SPDX-FileCopyrightText: 2022 Héctor Mesa Jiménez <wmj.py@gmx.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QJsonObject>
0010 #include <QString>
0011 #include <optional>
0012 
0013 namespace gdbmi
0014 {
0015 
0016 struct StreamOutput {
0017     enum { Console, Output, Log } channel;
0018     QString message;
0019 };
0020 
0021 struct Record {
0022     enum { Exec, Status, Notify, Result, Prompt } category;
0023     QString resultClass;
0024     QJsonObject value;
0025     std::optional<int> token;
0026 };
0027 
0028 }