aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/taskbar/taskbarfactory.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-11-23 18:39:35 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-11-23 18:39:35 +0000
commit7922211899b3727e63401561dc6773f7e1adc0b0 (patch)
tree4d94a16d777f9b8c88875bb5e7dc30cc1489716d /src/plugins/General/taskbar/taskbarfactory.h
parent9efd6ac5503697502f08649fcf99417cf54386a7 (diff)
downloadqmmp-7922211899b3727e63401561dc6773f7e1adc0b0.tar.gz
qmmp-7922211899b3727e63401561dc6773f7e1adc0b0.tar.bz2
qmmp-7922211899b3727e63401561dc6773f7e1adc0b0.zip
added support for progress indicator in the Windows taskbar (taskbar
plugin) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8465 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/taskbar/taskbarfactory.h')
-rw-r--r--src/plugins/General/taskbar/taskbarfactory.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/plugins/General/taskbar/taskbarfactory.h b/src/plugins/General/taskbar/taskbarfactory.h
new file mode 100644
index 000000000..bdc4e06db
--- /dev/null
+++ b/src/plugins/General/taskbar/taskbarfactory.h
@@ -0,0 +1,45 @@
+/***************************************************************************
+ * Copyright (C) 2018 by Ilya Kotov *
+ * forkotov02@ya.ru *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ***************************************************************************/
+#ifndef TASKBARFACTORY_H
+#define TASKBARFACTORY_H
+
+/**
+ @author Ilya Kotov <forkotov02@ya.ru>
+*/
+#include <QObject>
+#include <QDialog>
+
+#include <qmmpui/general.h>
+#include <qmmpui/generalfactory.h>
+
+class TaskbarFactory : public QObject, public GeneralFactory
+{
+Q_OBJECT
+Q_PLUGIN_METADATA(IID "org.qmmp.qmmpui.GeneralFactoryInterface.1.0")
+Q_INTERFACES(GeneralFactory)
+public:
+ GeneralProperties properties() const;
+ QObject *create(QObject *parent);
+ QDialog *createConfigDialog(QWidget *parent);
+ void showAbout(QWidget *parent);
+ QString translation() const;
+};
+
+#endif