mirror of
https://github.com/sudoxnym/open-hyperion.git
synced 2026-04-14 19:46:39 +00:00
36 lines
1,006 B
C
36 lines
1,006 B
C
|
|
/*-----------------------------------------*\
|
||
|
|
| OpenRGBPlugin.h |
|
||
|
|
| |
|
||
|
|
| OpenRGB Plugin template with example |
|
||
|
|
| |
|
||
|
|
| herosilas12 (CoffeeIsLife) 12/11/2020 |
|
||
|
|
| Adam Honse (CalcProgrammer1) 1/5/2021 |
|
||
|
|
\*-----------------------------------------*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "OpenRGBPluginInterface.h"
|
||
|
|
|
||
|
|
#include <QObject>
|
||
|
|
#include <QString>
|
||
|
|
#include <QtPlugin>
|
||
|
|
#include <QWidget>
|
||
|
|
#include <QLabel>
|
||
|
|
|
||
|
|
class OpenRGBPlugin : public QObject, public OpenRGBPluginInterface
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
Q_PLUGIN_METADATA(IID OpenRGBPluginInterface_IID)
|
||
|
|
Q_INTERFACES(OpenRGBPluginInterface)
|
||
|
|
|
||
|
|
public:
|
||
|
|
virtual ~OpenRGBPlugin() {};
|
||
|
|
|
||
|
|
virtual OpenRGBPluginInfo Initialize(bool dark_theme, ResourceManager* resource_manager_ptr) override;
|
||
|
|
|
||
|
|
virtual QWidget *CreateGUI(QWidget* parent) override;
|
||
|
|
|
||
|
|
private:
|
||
|
|
ResourceManager* resource_manager;
|
||
|
|
};
|