| 1 | /***************************************************************************** |
| 2 | ** QNapi |
| 3 | ** Copyright (C) 2008-2017 Piotr KrzemiĆski <[email protected]> |
| 4 | ** |
| 5 | ** This program is free software; you can redistribute it and/or modify |
| 6 | ** it under the terms of the GNU General Public License as published by |
| 7 | ** the Free Software Foundation; either version 2 of the License, or |
| 8 | ** (at your option) any later version. |
| 9 | ** |
| 10 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
| 11 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 12 | ** |
| 13 | *****************************************************************************/ |
| 14 | |
| 15 | #ifndef __FRMSUMMARY__H__ |
| 16 | #define __FRMSUMMARY__H__ |
| 17 | |
| 18 | #include "engines/subtitledownloadenginesregistry.h" |
| 19 | |
| 20 | #include "subtitleinfo.h" |
| 21 | #include "ui_frmsummary.h" |
| 22 | |
| 23 | #include <QList> |
| 24 | #include <QSharedPointer> |
| 25 | #include <QWidget> |
| 26 | |
| 27 | class frmSummary : public QDialog { |
| 28 | Q_OBJECT |
| 29 | public: |
| 30 | frmSummary(QWidget *parent = 0, Qt::WindowFlags f = 0); |
| 31 | ~frmSummary() {} |
| 32 | |
| 33 | void setSummaryList(QList<SubtitleInfo> list); |
| 34 | |
| 35 | private: |
| 36 | Ui::frmSummary ui; |
| 37 | |
| 38 | QSharedPointer<const SubtitleDownloadEnginesRegistry> enginesRegistry; |
| 39 | }; |
| 40 | |
| 41 | #endif |