This commit is contained in:
2026-02-14 14:31:23 +01:00
parent d82886f3a1
commit 99b2e07890
2 changed files with 9 additions and 5 deletions
+5 -2
View File
@@ -14,8 +14,11 @@
using json = nlohmann::json;
#define PUSH_UI_ITEM(item) push_ui_item(ui->item)
#define EXPORT_UI(client) \
extern "C" Q_DECL_EXPORT Simulator_base* get_ui(Web_socket_wrapper *api, QWidget *parent) { return new client(api, parent); }
#define EXPORT_UI(client) \
extern "C" Q_DECL_EXPORT Simulator_base *get_ui(Web_socket_wrapper *api, QWidget *parent) \
{ \
return new client(api, parent); \
}
class Simulator_base : public QMainWindow
{