From 4e00d3b0f49f89a26c8bbe864f9af58a38d5aba8 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 23 Dec 2020 19:04:46 +0000 Subject: library: added widget git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9601 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/library/libraryfactory.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/plugins/General/library/libraryfactory.h') diff --git a/src/plugins/General/library/libraryfactory.h b/src/plugins/General/library/libraryfactory.h index d9500bcbb..ce818b2a1 100644 --- a/src/plugins/General/library/libraryfactory.h +++ b/src/plugins/General/library/libraryfactory.h @@ -17,14 +17,18 @@ * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ + #ifndef LIBRARYFACTORY_H #define LIBRARYFACTORY_H #include #include +#include #include #include +class LibraryWidget; + /** @author Ilya Kotov */ @@ -36,9 +40,18 @@ Q_INTERFACES(GeneralFactory) public: GeneralProperties properties() const override; QObject *create(QObject *parent) override; + QWidget *createWidget(int id, QWidget *parent) override; QDialog *createConfigDialog(QWidget *parent) override; void showAbout(QWidget *parent) override; QString translation() const override; + +private: + enum WidgetType + { + LIBRARY_WIDGET = 0 + }; + + QPointer m_libraryWidget; }; #endif // LIBRARYFACTORY_H -- cgit v1.2.3-13-gbd6f