This commit is contained in:
Ivan I. Ovchinnikov
2026-07-27 21:15:36 +03:00
commit 47b1e70663
15 changed files with 1038 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef SERIAL_SAMPLE_PAYLOADWINDOW_H
#define SERIAL_SAMPLE_PAYLOADWINDOW_H
#include <string>
#include <libserialport.h>
// Вперед-идущее объявление, чтобы не плодить инклуды
class ConnectionWindow;
class PayloadWindow {
public:
PayloadWindow();
~PayloadWindow() = default;
void Render(bool* p_open, ConnectionWindow& conn_win);
private:
void SendHexPayload(const std::string& hex_str, ConnectionWindow& conn_win);
char hex_input_buffer[256];
};
#endif // SERIAL_SAMPLE_PAYLOADWINDOW_H