mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-09 12:52:22 +08:00
21 lines
430 B
C++
21 lines
430 B
C++
|
|
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
class SpkDtkPlugin : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
virtual ~SpkDtkPlugin() = default;
|
|
virtual void Initialize() = 0;
|
|
virtual void addWindow(QWidget* w, QObject* parent) = 0;
|
|
virtual QColor GetAccentColor() = 0;
|
|
|
|
signals:
|
|
void AccentColorChanged(QColor);
|
|
};
|
|
QT_BEGIN_NAMESPACE
|
|
Q_DECLARE_INTERFACE(SpkDtkPlugin, "org.spark-store.client.dtkplugin")
|
|
QT_END_NAMESPACE
|