protobuf server
This commit is contained in:
@@ -11,10 +11,10 @@ public:
|
||||
~ConnectionWindow();
|
||||
|
||||
void initialize();
|
||||
void render(bool* p_open);
|
||||
void render(bool* paramOpen);
|
||||
|
||||
bool isConnected() const { return connected; }
|
||||
struct sp_port* getActivePort() const { return activePort; }
|
||||
[[nodiscard]] bool isConnected() const { return connected; }
|
||||
[[nodiscard]] sp_port* getActivePort() const { return activePort; }
|
||||
|
||||
void forceLogMessage(const std::string& msg);
|
||||
std::string& getSharedLog() { return txLog; }
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ public:
|
||||
LogWindow() = default;
|
||||
~LogWindow() = default;
|
||||
|
||||
void render(bool* paramOpen, ConnectionWindow& connectionWindow);
|
||||
static void render(bool* paramOpen, ConnectionWindow& connectionWindow);
|
||||
};
|
||||
|
||||
#endif // SERIAL_SAMPLE_LOGWINDOW_H
|
||||
|
||||
@@ -15,8 +15,8 @@ public:
|
||||
void render(bool* p_open, ConnectionWindow& connectionWindow);
|
||||
|
||||
private:
|
||||
void sendHexPayload(const std::string& hexString, ConnectionWindow& connectionWindow);
|
||||
char hexInputBuffer[256];
|
||||
static void sendHexPayload(const std::string& hexString, ConnectionWindow& connectionWindow);
|
||||
char hexInputBuffer[256]{};
|
||||
};
|
||||
|
||||
#endif // SERIAL_SAMPLE_PAYLOADWINDOW_H
|
||||
|
||||
+3
-2
@@ -14,11 +14,12 @@ public:
|
||||
void initialize();
|
||||
void renderUI();
|
||||
|
||||
bool isClosing() const { return shouldClose; }
|
||||
[[nodiscard]] bool isClosing() const { return shouldClose; }
|
||||
|
||||
private:
|
||||
void renderMainMenuBar();
|
||||
bool loadTheme(const std::string& filepath); // Метод парсинга файла темы
|
||||
|
||||
static bool loadTheme(const std::string& filepath); // Метод парсинга файла темы
|
||||
|
||||
bool showConnectionWindow = true;
|
||||
bool showPayloadWindow = true;
|
||||
|
||||
Reference in New Issue
Block a user