Update file header comments to standardized new format for Cherry, Colorful, and Cooler Master files

This commit is contained in:
Adam Honse 2024-05-12 17:16:31 -05:00
parent 889110961a
commit fc97d6130b
62 changed files with 638 additions and 423 deletions

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| ColorfulGPUController.cpp |
| |
| Driver for Colorful GPU |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include "ColorfulGPUController.h"
#include "pci_ids.h"

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| ColorfulGPUController.h |
| |
| Driver for Colorful GPU |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <string>
@ -18,7 +27,6 @@ public:
std::string GetDeviceLocation();
void SetDirect(RGBColor color);
private:
i2c_smbus_interface * bus;
colorful_gpu_dev_id dev;

View file

@ -1,4 +1,13 @@
#include <stdio.h>
/*---------------------------------------------------------*\
| ColorfulGPUControllerDetect.cpp |
| |
| Detector for Colorful GPU |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include "Detector.h"

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| RGBController_ColorfulGPU.cpp |
| |
| RGBController for Colorful GPU |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <array>
#include "RGBController_ColorfulGPU.h"

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| RGBController_ColorfulGPU.h |
| |
| RGBController for Colorful GPU |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
@ -20,7 +29,4 @@ public:
private:
ColorfulGPUController* controller;
};