Update file header comments to standardized new format for Asus TUF laptop files

This commit is contained in:
Adam Honse 2024-05-11 21:28:16 -05:00
parent 93573a93ca
commit 88929f9e4c
10 changed files with 89 additions and 10 deletions

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| AsusTUFLaptopController_Linux.cpp |
| |
| Driver for ASUS TUF laptop |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <string>
#include "AsusTUFLaptopController_Linux.h"

View file

@ -1,5 +1,13 @@
#ifndef ASUSTUFLAPTOPLINUXCONTROLLER_H
#define ASUSTUFLAPTOPLINUXCONTROLLER_H
/*---------------------------------------------------------*\
| AsusTUFLaptopController_Linux.h |
| |
| Driver for ASUS TUF laptop |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
@ -33,5 +41,3 @@ public:
unsigned char blue
);
};
#endif // ASUSTUFLAPTOPLINUXCONTROLLER_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| AsusTUFLaptopController_Windows.cpp |
| |
| Driver for ASUS TUF laptop |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstdint>
#include <cstring>
#include <cstdio>

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| AsusTUFLaptopController_Windows.h |
| |
| Driver for ASUS TUF laptop |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <windows.h>

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| AsusTUFLaptopDetect_Linux.cpp |
| |
| Detector for ASUS TUF laptop |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <string>
#include <unistd.h>
#include "Detector.h"

View file

@ -1,4 +1,11 @@
#ifdef _WIN32
/*---------------------------------------------------------*\
| AsusTUFLaptopDetect_Windows.cpp |
| |
| Detector for ASUS TUF laptop |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <string>
#include "Detector.h"
@ -43,5 +50,3 @@ static void DetectAsusTUFLaptopWMIControllers()
} /* DetectAsusTUFLaptopWMIControllers() */
REGISTER_DETECTOR("ASUS TUF Laptop", DetectAsusTUFLaptopWMIControllers);
#endif

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| RGBController_AsusTUFLaptop_Linux.cpp |
| |
| RGBController for ASUS TUF laptop |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_AsusTUFLaptop_Linux.h"
/**------------------------------------------------------------------*\

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| RGBController_AsusTUFLaptop_Linux.h |
| |
| RGBController for ASUS TUF laptop |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"

View file

@ -1,4 +1,11 @@
#ifdef _WIN32
/*---------------------------------------------------------*\
| RGBController_AsusTUFLaptop_Windows.cpp |
| |
| RGBController for ASUS TUF laptop |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_AsusTUFLaptop_Windows.h"
@ -172,5 +179,3 @@ void RGBController_AsusTUFLaptopWMI::DeviceSaveMode()
{
ControllerSetMode(true);
}
#endif

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| RGBController_AsusTUFLaptop_Windows.h |
| |
| RGBController for ASUS TUF laptop |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "AsusTUFLaptopController_Windows.h"