Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
lua_debugger_settings.h
Go to the documentation of this file.
1/* lua_debugger_settings.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <[email protected]>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
15#ifndef LUA_DEBUGGER_SETTINGS_H
16#define LUA_DEBUGGER_SETTINGS_H
17
18#include <QJsonArray>
19#include <QVariantMap>
20
26{
27 public:
28 void loadFromFile();
29 void saveToFile() const;
30
31 QVariantMap &map() { return map_; }
32 const QVariantMap &map() const { return map_; }
33
35 static QJsonArray jsonArrayAt(const QVariantMap &map, const char *key);
36
37 private:
38 QVariantMap map_;
39};
40
41#endif
In-memory Lua debugger UI settings backed by lua_debugger.json (global personal config,...
Definition lua_debugger_settings.h:26
static QJsonArray jsonArrayAt(const QVariantMap &map, const char *key)
Definition lua_debugger_settings.cpp:86