QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskSkinFactory.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_SKIN_FACTORY_H
7#define QSK_SKIN_FACTORY_H
8
9#include "QskGlobal.h"
10#include <qobject.h>
11
12class QskSkin;
13
14class QSK_EXPORT QskSkinFactory : public QObject
15{
16 Q_OBJECT
17
18 public:
19 QskSkinFactory( QObject* parent = nullptr );
20 ~QskSkinFactory() override;
21
22 virtual QStringList skinNames() const = 0;
23 virtual QskSkin* createSkin( const QString& skinName ) = 0;
24};
25
26#define QskSkinFactoryIID "org.qskinny.Qsk.QskSkinFactory/1.0"
27Q_DECLARE_INTERFACE( QskSkinFactory, QskSkinFactoryIID )
28
29#endif