Files
serial-imgui/include/PayloadWindow.h
T
Ivan I. Ovchinnikov 8c4d40b66a protobuf server
2026-07-28 20:46:41 +03:00

23 lines
580 B
C++

#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& connectionWindow);
private:
static void sendHexPayload(const std::string& hexString, ConnectionWindow& connectionWindow);
char hexInputBuffer[256]{};
};
#endif // SERIAL_SAMPLE_PAYLOADWINDOW_H