📦 Moves templates

This commit is contained in:
Rune Harlyk
2024-11-14 15:56:23 +01:00
parent b6fe8844f4
commit 24d39e540e
18 changed files with 29 additions and 29 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
#include <stateful_service.h>
#include <stateful_service_endpoint.h>
#include <stateful_persistence.h>
#include <template/stateful_service.h>
#include <template/stateful_endpoint.h>
#include <template/stateful_persistence.h>
#include <settings/ap_settings.h>
#include <utils/timing.h>
#include <WiFi.h>
+1 -1
View File
@@ -2,7 +2,7 @@
#define Socket_h
#include <PsychicHttp.h>
#include <stateful_service.h>
#include <template/stateful_service.h>
#include <list>
#include <map>
#include <vector>
+2 -2
View File
@@ -2,9 +2,9 @@
#define NTPService_h
#include <filesystem.h>
#include <stateful_persistence.h>
#include <template/stateful_persistence.h>
#include <WiFi.h>
#include <stateful_service_endpoint.h>
#include <template/stateful_endpoint.h>
#include <settings/ntp_settings.h>
#include <lwip/apps/sntp.h>
@@ -8,9 +8,9 @@
#include <features.h>
#include <task_manager.h>
#include <stateful_socket.h>
#include <stateful_persistence.h>
#include <stateful_service_endpoint.h>
#include <template/stateful_socket.h>
#include <template/stateful_persistence.h>
#include <template/stateful_endpoint.h>
#include <settings/camera_settings.h>
@@ -1,15 +1,15 @@
#ifndef Peripherals_h
#define Peripherals_h
#include <stateful_socket.h>
#include <stateful_persistence.h>
#include <stateful_service.h>
#include <template/stateful_socket.h>
#include <template/stateful_persistence.h>
#include <template/stateful_service.h>
#include <utils/math_utils.h>
#include <utils/timing.h>
#include <filesystem.h>
#include <features.h>
#include <settings/peripherals_settings.h>
#include <stateful_service_endpoint.h>
#include <template/stateful_endpoint.h>
#include <list>
#include <SPI.h>
@@ -3,9 +3,9 @@
#include <Adafruit_PWMServoDriver.h>
#include <event_socket.h>
#include <stateful_persistence.h>
#include <stateful_service.h>
#include <stateful_service_endpoint.h>
#include <template/stateful_persistence.h>
#include <template/stateful_service.h>
#include <template/stateful_endpoint.h>
#include <utils/math_utils.h>
#include <settings/servo_settings.h>
@@ -6,7 +6,7 @@
#include <utils/json_utils.h>
#include <utils/string_utils.h>
#include <utils/ip_utils.h>
#include <state_result.h>
#include <template/state_result.h>
#include <DNSServer.h>
#include <IPAddress.h>
@@ -3,7 +3,7 @@
namespace Camera {
#include <ArduinoJson.h>
#include <state_result.h>
#include <template/state_result.h>
#include <esp_camera.h>
class CameraSettings {
@@ -1,5 +1,5 @@
#include <Arduino.h>
#include <state_result.h>
#include <template/state_result.h>
#include <ArduinoJson.h>
#ifndef FACTORY_NTP_ENABLED
@@ -2,7 +2,7 @@
#include <vector>
#include <ArduinoJson.h>
#include <state_result.h>
#include <template/state_result.h>
/*
* I2C software connection
@@ -1,7 +1,7 @@
#pragma once
#include <ArduinoJson.h>
#include <state_result.h>
#include <template/state_result.h>
typedef struct {
float centerPwm;
@@ -6,7 +6,7 @@
#include <utils/json_utils.h>
#include <utils/ip_utils.h>
#include <utils/string_utils.h>
#include <state_result.h>
#include <template/state_result.h>
#ifndef FACTORY_WIFI_SSID
#define FACTORY_WIFI_SSID ""
@@ -1,7 +1,7 @@
#pragma once
#include <PsychicHttp.h>
#include <stateful_service_endpoint.h>
#include <template/stateful_endpoint.h>
#include <functional>
@@ -17,7 +17,7 @@
**/
#include <FS.h>
#include <stateful_service.h>
#include <template/stateful_service.h>
#include <filesystem.h>
template <class T>
@@ -24,7 +24,7 @@
#include <freertos/FreeRTOS.h>
#include <freertos/semphr.h>
#include <state_result.h>
#include <template/state_result.h>
template <typename T>
using JsonStateUpdater = std::function<StateUpdateResult(JsonObject &root, T &settings)>;
@@ -3,7 +3,7 @@
#include <PsychicHttp.h>
#include <event_socket.h>
#include <stateful_service.h>
#include <template/stateful_service.h>
template <class T>
class EventEndpoint {
+3 -3
View File
@@ -7,9 +7,9 @@
#include <filesystem.h>
#include <utils/timing.h>
#include <stateful_service.h>
#include <stateful_persistence.h>
#include <stateful_service_endpoint.h>
#include <template/stateful_service.h>
#include <template/stateful_persistence.h>
#include <template/stateful_endpoint.h>
#include <settings/wifi_settings.h>
class WiFiService : public StatefulService<WiFiSettings> {