#ifndef SERIAL_SAMPLE_SERIALAPP_H #define SERIAL_SAMPLE_SERIALAPP_H #include "ConnectionWindow.h" #include "PayloadWindow.h" #include "LogWindow.h" #include class SerialApp { public: SerialApp(); ~SerialApp() = default; void initialize(); void renderUI(); [[nodiscard]] bool isClosing() const { return shouldClose; } private: void renderMainMenuBar(); static bool loadTheme(const std::string& filepath); // Метод парсинга файла темы bool showConnectionWindow = true; bool showPayloadWindow = true; bool showLogWindow = true; bool shouldClose; ConnectionWindow connectionWindow; PayloadWindow payloadWindow; LogWindow logWindow; }; #endif // SERIAL_SAMPLE_SERIALAPP_H