Update Kasa Smart controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-05-25 09:29:04 -05:00
parent beac78dcb6
commit 56753a5821
5 changed files with 58 additions and 31 deletions

View file

@ -1,13 +1,18 @@
/*----------------------------------------------*\
| Driver for Kasa Smart light bulbs |
| |
| Devin Wendt (umbreon222@gmail.com), 2/16/2023 |
\*----------------------------------------------*/
/*---------------------------------------------------------*\
| KasaSmartController.cpp |
| |
| Driver for Kasa Smart bulbs |
| |
| Devin Wendt (umbreon222@gmail.com) 16 Feb 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstdint>
#include "KasaSmartController.h"
#include "json.hpp"
#include "hsv.h"
#include <cstdint>
using json = nlohmann::json;

View file

@ -1,17 +1,21 @@
/*---------------------------------------------------------*\
| Definitions for Kasa Smart |
| KasaSmartController.h |
| |
| Devin Wendt (umbreon222@gmail.com), 2/16/2023 |
| Driver for Kasa Smart bulbs |
| |
| Devin Wendt (umbreon222@gmail.com) 16 Feb 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController.h"
#include "net_port.h"
#pragma once
#include <string>
#include <thread>
#include <vector>
#pragma once
#include "RGBController.h"
#include "net_port.h"
enum
{

View file

@ -1,13 +1,24 @@
/*---------------------------------------------------------*\
| KasaSmartControllerDetect.cpp |
| |
| Detector for Kasa Smart bulbs |
| |
| Devin Wendt (umbreon222@gmail.com) 16 Feb 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <algorithm>
#include <cctype>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include "Detector.h"
#include "KasaSmartController.h"
#include "RGBController.h"
#include "RGBController_KasaSmart.h"
#include "SettingsManager.h"
#include <vector>
#include <cctype>
#include <algorithm>
#include <stdio.h>
#include <stdlib.h>
/******************************************************************************************\
* *

View file

@ -1,10 +1,13 @@
/*-----------------------------------------*\
| RGBController_KasaSmart.cpp |
| |
| Generic RGB Interface for KasaSmart |
| |
| Devin Wendt (umbreon222) 2/16/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_KasaSmart.cpp |
| |
| RGBController for Kasa Smart bulbs |
| |
| Devin Wendt (umbreon222) 16 Feb 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_KasaSmart.h"

View file

@ -1,12 +1,16 @@
/*-----------------------------------------*\
| RGBController_KasaSmart.h |
| |
| Generic RGB Interface for Kasa Smart |
| |
| Devin Wendt (umbreon222) 2/16/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_KasaSmart.h |
| |
| RGBController for Kasa Smart bulbs |
| |
| Devin Wendt (umbreon222) 16 Feb 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "KasaSmartController.h"