From 62f3ee1bcbba6c9b0766484f3d41278b4500b9b0 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Thu, 14 Nov 2024 15:50:46 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=BC=20Renames=20stateful=20socket=20se?= =?UTF-8?q?rvice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esp32/lib/ESP32-sveltekit/camera_service.h | 2 +- .../ESP32-sveltekit/peripherals/peripherals.h | 2 +- .../{EventEndpoint.h => stateful_socket.h} | 20 ++----------------- 3 files changed, 4 insertions(+), 20 deletions(-) rename esp32/lib/ESP32-sveltekit/{EventEndpoint.h => stateful_socket.h} (74%) diff --git a/esp32/lib/ESP32-sveltekit/camera_service.h b/esp32/lib/ESP32-sveltekit/camera_service.h index f47993b..18eed7c 100644 --- a/esp32/lib/ESP32-sveltekit/camera_service.h +++ b/esp32/lib/ESP32-sveltekit/camera_service.h @@ -8,7 +8,7 @@ #include #include -#include +#include #include #include diff --git a/esp32/lib/ESP32-sveltekit/peripherals/peripherals.h b/esp32/lib/ESP32-sveltekit/peripherals/peripherals.h index fabeada..592567f 100644 --- a/esp32/lib/ESP32-sveltekit/peripherals/peripherals.h +++ b/esp32/lib/ESP32-sveltekit/peripherals/peripherals.h @@ -1,7 +1,7 @@ #ifndef Peripherals_h #define Peripherals_h -#include +#include #include #include #include diff --git a/esp32/lib/ESP32-sveltekit/EventEndpoint.h b/esp32/lib/ESP32-sveltekit/stateful_socket.h similarity index 74% rename from esp32/lib/ESP32-sveltekit/EventEndpoint.h rename to esp32/lib/ESP32-sveltekit/stateful_socket.h index b5118ec..35be9a7 100644 --- a/esp32/lib/ESP32-sveltekit/EventEndpoint.h +++ b/esp32/lib/ESP32-sveltekit/stateful_socket.h @@ -1,22 +1,8 @@ -#ifndef EventEndpoint_h -#define EventEndpoint_h +#pragma once -/** - * ESP32 SvelteKit - * - * A simple, secure and extensible framework for IoT projects for ESP32 platforms - * with responsive Sveltekit front-end built with TailwindCSS and DaisyUI. - * https://github.com/theelims/ESP32-sveltekit - * - * Copyright (C) 2018 - 2023 rjwats - * Copyright (C) 2023 theelims - * - * All Rights Reserved. This software may be modified and distributed under - * the terms of the LGPL v3 license. See the LICENSE file for details. - **/ +#include #include -#include #include template @@ -55,5 +41,3 @@ class EventEndpoint { socket.emit(_event, output.c_str(), originId.c_str(), sync); } }; - -#endif