1#ifndef IMGUI_MACHINE_HH
2#define IMGUI_MACHINE_HH
19 std::vector<std::pair<std::string, std::string>>
configInfo;
27 void save(ImGuiTextBuffer& buf)
override;
34 void paintTestHardware();
35 [[nodiscard]] std::vector<MachineInfo>& getAllMachines();
36 [[nodiscard]] MachineInfo* findMachineInfo(std::string_view config);
37 [[nodiscard]]
const std::string& getTestResult(MachineInfo& info);
38 bool printConfigInfo(MachineInfo& info);
45 std::vector<MachineInfo> machineInfo;
46 std::string newMachineConfig;
47 std::string filterType;
48 std::string filterRegion;
49 std::string filterString;
51 static constexpr size_t HISTORY_SIZE = 8;
Circular buffer class, based on boost::circular_buffer/.
zstring_view iniName() const override
void loadLine(std::string_view name, zstring_view value) override
void showMenu(MSXMotherBoard *motherBoard) override
void save(ImGuiTextBuffer &buf) override
void paint(MSXMotherBoard *motherBoard) override
ImGuiPart(ImGuiManager &manager_)
Like std::string_view, but with the extra guarantee that it refers to a zero-terminated string.
This file implemented 3 utility functions:
std::vector< std::pair< std::string, std::string > > configInfo
std::optional< std::string > testResult