mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-21 23:43:44 +02:00
Redo commands structure, simplify it and clean it up
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#include "BaseCommand.hpp"
|
||||
|
||||
class setMDNSCommand : public Command
|
||||
{
|
||||
std::shared_ptr<ProjectConfig> projectConfig;
|
||||
|
||||
public:
|
||||
setMDNSCommand(std::shared_ptr<ProjectConfig> projectConfig) : projectConfig(projectConfig) {};
|
||||
CommandResult execute(std::string_view jsonPayload) override;
|
||||
std::optional<MDNSPayload> parsePayload(std::string_view jsonPayload);
|
||||
};
|
||||
Reference in New Issue
Block a user