initial
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user