From 9df2289bf4543abd5c3e717568a511d8fc998a0b Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sat, 1 Jun 2024 01:07:22 -0500 Subject: [PATCH] Update Nanoleaf controller files to new standardized header comment --- .../NanoleafController/NanoleafController.cpp | 17 ++++++++++------- .../NanoleafController/NanoleafController.h | 17 ++++++++++------- .../NanoleafControllerDetect.cpp | 11 +++++++++++ .../RGBController_Nanoleaf.cpp | 18 +++++++++++------- .../RGBController_Nanoleaf.h | 18 +++++++++++------- 5 files changed, 53 insertions(+), 28 deletions(-) diff --git a/Controllers/NanoleafController/NanoleafController.cpp b/Controllers/NanoleafController/NanoleafController.cpp index f6f9ac7a..353f7ccc 100644 --- a/Controllers/NanoleafController/NanoleafController.cpp +++ b/Controllers/NanoleafController/NanoleafController.cpp @@ -1,10 +1,13 @@ -/*-----------------------------------------*\ -| NanoleafController.cpp | -| | -| API Interface for Nanoleaf devices | -| | -| Nikita Rushmanov 01/13/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| NanoleafController.cpp | +| | +| Driver for Nanoleaf | +| | +| Nikita Rushmanov 13 Jan 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "NanoleafController.h" #include "LogManager.h" diff --git a/Controllers/NanoleafController/NanoleafController.h b/Controllers/NanoleafController/NanoleafController.h index 6e8fd91a..d7a47573 100644 --- a/Controllers/NanoleafController/NanoleafController.h +++ b/Controllers/NanoleafController/NanoleafController.h @@ -1,10 +1,13 @@ -/*-----------------------------------------*\ -| NanoleafController.h | -| | -| API Interface for Nanoleaf devices | -| | -| Nikita Rushmanov 01/13/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| NanoleafController.h | +| | +| Driver for Nanoleaf | +| | +| Nikita Rushmanov 13 Jan 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once diff --git a/Controllers/NanoleafController/NanoleafControllerDetect.cpp b/Controllers/NanoleafController/NanoleafControllerDetect.cpp index 5f7ae49f..04ea6e0b 100644 --- a/Controllers/NanoleafController/NanoleafControllerDetect.cpp +++ b/Controllers/NanoleafController/NanoleafControllerDetect.cpp @@ -1,3 +1,14 @@ +/*---------------------------------------------------------*\ +| NanoleafControllerDetect.cpp | +| | +| Detector for Nanoleaf | +| | +| Nikita Rushmanov 13 Jan 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #include "Detector.h" #include "RGBController_Nanoleaf.h" #include "SettingsManager.h" diff --git a/Controllers/NanoleafController/RGBController_Nanoleaf.cpp b/Controllers/NanoleafController/RGBController_Nanoleaf.cpp index 98fd6ad6..eed30da5 100644 --- a/Controllers/NanoleafController/RGBController_Nanoleaf.cpp +++ b/Controllers/NanoleafController/RGBController_Nanoleaf.cpp @@ -1,15 +1,19 @@ -/*-----------------------------------------*\ -| RGBController_Nanoleaf.cpp | -| | -| Generic RGB Interface for Nanoleaf | -| | -| Nikita Rushmanov 01/13/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_Nanoleaf.cpp | +| | +| RGBController for Nanoleaf | +| | +| Nikita Rushmanov 13 Jan 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "RGBController_Nanoleaf.h" #include "ResourceManager.h" #include "LogManager.h" #include "json.hpp" + using json = nlohmann::json; /**------------------------------------------------------------------*\ diff --git a/Controllers/NanoleafController/RGBController_Nanoleaf.h b/Controllers/NanoleafController/RGBController_Nanoleaf.h index 82133149..af317d08 100644 --- a/Controllers/NanoleafController/RGBController_Nanoleaf.h +++ b/Controllers/NanoleafController/RGBController_Nanoleaf.h @@ -1,12 +1,16 @@ -/*-----------------------------------------*\ -| RGBController_Nanoleaf.h | -| | -| Generic RGB Interface for Nanoleaf | -| | -| Nikita Rushmanov 01/13/2022 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_Nanoleaf.h | +| | +| RGBController for Nanoleaf | +| | +| Nikita Rushmanov 13 Jan 2022 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once + #include "RGBController.h" #include "NanoleafController.h"