Update Debug controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-05-16 11:24:31 -05:00
parent 66a53cde3d
commit 89fd45f1ac
3 changed files with 36 additions and 17 deletions

View file

@ -1,3 +1,20 @@
/*---------------------------------------------------------*\
| DebugControllerDetect.cpp |
| |
| Detector for debug devices |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <fcntl.h>
#include <fstream>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <string.h>
#include <vector>
#include "Detector.h"
#include "RGBController.h"
#include "RGBController_Debug.h"
@ -5,16 +22,6 @@
#include "RGBControllerKeyNames.h"
#include "KeyboardLayoutManager.h"
#include "SettingsManager.h"
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <fstream>
#include <iostream>
#include <string>
//0xFFFFFFFF indicates an unused entry in matrix
#define NA 0xFFFFFFFF

View file

@ -1,7 +1,15 @@
#include "RGBController_Debug.h"
/*---------------------------------------------------------*\
| RGBController_Debug.cpp |
| |
| RGBController for debug devices |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <algorithm>
#include <cstring>
#include "RGBController_Debug.h"
/**------------------------------------------------------------------*\
@name Debug

View file

@ -1,15 +1,19 @@
#ifndef RGBCONTROLLER_DEBUG_H
#define RGBCONTROLLER_DEBUG_H
/*---------------------------------------------------------*\
| RGBController_Debug.h |
| |
| RGBController for debug devices |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController_Dummy.h"
// A variation of Dummy controller that allows the zones to be resized
class RGBController_Debug : public RGBController_Dummy
{
public:
RGBController_Debug();
void ResizeZone(int zone, int newSize) override;
};
#endif // RGBCONTROLLER_DEBUG_H