Implement some commands

This commit is contained in:
Lorow
2024-11-10 17:48:21 +01:00
parent edce9e6ce4
commit 9fb7e53824
5 changed files with 113 additions and 8 deletions

View File

@@ -8,6 +8,8 @@ std::unique_ptr<Command> CommandManager::createCommand(CommandType type)
return std::make_unique<PingCommand>();
case CommandType::SET_WIFI:
return std::make_unique<setWiFiCommand>(projectConfig);
case CommandType::DELETE_NETWORK:
return std::make_unique<deleteWifiCommand>(projectConfig);
default:
return nullptr;
}