Seperation

This commit is contained in:
Aiden
2026-05-12 14:57:18 +10:00
parent d07ea1f63a
commit 95b4a54326
6 changed files with 334 additions and 251 deletions

View File

@@ -1,5 +1,7 @@
#pragma once
#include "ControlActionResult.h"
#include <winsock2.h>
#include <atomic>
@@ -19,12 +21,6 @@ struct HttpControlServerConfig
std::chrono::milliseconds idleSleep = std::chrono::milliseconds(10);
};
struct ControlActionResult
{
bool ok = false;
std::string error;
};
struct HttpControlServerCallbacks
{
std::function<std::string()> getStateJson;