Refactoring project layout.

This commit is contained in:
stephb9959
2021-10-19 19:16:09 -07:00
parent 8c3a9cb535
commit 98f22b5eb9
81 changed files with 556 additions and 120 deletions

View File

@@ -0,0 +1,18 @@
//
// Created by stephane bourque on 2021-07-19.
//
#include "RESTAPI_deviceReportHandler.h"
#include "StorageService.h"
#include "RESTAPI_FMSObjects.h"
#include "Poco/JSON/Object.h"
#include "Daemon.h"
namespace OpenWifi {
void RESTAPI_deviceReportHandler::DoGet() {
Daemon()->CreateDashboard();
Poco::JSON::Object O;
Daemon()->GetDashboard().to_json(O);
ReturnObject(O);
}
}