From cb0caaf39ea68455296b87f24c35de6300c6fcda Mon Sep 17 00:00:00 2001 From: Jochen Vothknecht <jochen3120@gmail.com> Date: Mon, 27 Jun 2022 02:25:35 +0200 Subject: [PATCH] ST: Remove never implemented CapabilityManager-approach (superseded by ServiceManager) --- CLC-qthing/SiliconTorch/CapMan.cpp | 34 ------------- CLC-qthing/SiliconTorch/CapMan.hpp | 77 ------------------------------ 2 files changed, 111 deletions(-) delete mode 100644 CLC-qthing/SiliconTorch/CapMan.cpp delete mode 100644 CLC-qthing/SiliconTorch/CapMan.hpp diff --git a/CLC-qthing/SiliconTorch/CapMan.cpp b/CLC-qthing/SiliconTorch/CapMan.cpp deleted file mode 100644 index e6933fe..0000000 --- a/CLC-qthing/SiliconTorch/CapMan.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "CapMan.hpp" - -// C++ system level -// #include <cstring> // memset, strncmp -// #include <cstdlib> // TODO: is this for memcpy? -// #include <functional> - -// ESP32 specific -// #include "esp_err.h" -#include "esp_log.h" -// #include "driver/gpio.h" -// #include "driver/uart.h" - -// project specific -#include "SpiderLib/NumberTypes.hpp" - -// qthing stuff -// #include <qthing> - -/* -namespace SiliconTorch { - - // CapabilityManager - namespace CapMan { - - - void CapMan::publish() { - ESP_LOGW(TAG, "Not implemented!"); - } - - - } -} -*/ \ No newline at end of file diff --git a/CLC-qthing/SiliconTorch/CapMan.hpp b/CLC-qthing/SiliconTorch/CapMan.hpp deleted file mode 100644 index f84ccab..0000000 --- a/CLC-qthing/SiliconTorch/CapMan.hpp +++ /dev/null @@ -1,77 +0,0 @@ -#pragma once - -// C++ system level -// #include <string> -// #include <cstring> // memset, strncmp -// #include <cstdlib> // TODO: is this for memcpy? -// #include <functional> - -// ESP32 specific -// #include "esp_err.h" -#include "esp_log.h" -// #include "driver/gpio.h" -// #include "driver/uart.h" - -// project specific -#include "SpiderLib/NumberTypes.hpp" - -// qthing stuff -// #include <qthing> - -/* -namespace SiliconTorch { - - // CapabilityManager - namespace CapMan { - - - enum ColorType { - RGB, - RGBW, - RGBWYU, - Greyscale, - CyanLight, // Like GreyScale but with differently colored Pixels - Monochrome, - }; - - - class CapMan { - - public: - - - - void registerLEDStrip(std::string& name, u16 startIdx, u16 length, ColorType); - - - - // void registerExtension(std::string& name); - // void registerExtension(std::string& name, std::initializer_list<std::pair<>> properties); - - - - - void publish(); - - - // ⬇⬇ Singleton stuff ⬇⬇ - - static CapMan& instance() { - static CapMan _instance; - return _instance; - } - - CapMan(CapMan const&) = delete; - void operator=(CapMan const&) = delete; - - // ⬆⬆ Singleton stuff ⬆⬆ - - private: - - - - }; - - } -} -*/ \ No newline at end of file -- GitLab