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