Files
serial-imgui/include/PayloadWindow.h
T
Ivan I. Ovchinnikov 5a702fe0f8 style refactor
2026-07-27 21:29:50 +03:00

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