summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/gui/selectiveinstallwidget.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-28 20:47:28 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-12-03 22:25:12 +0100
commitb064a6cbb58a0db1a70fbac2e82242ce0c7509b1 (patch)
treec9090d367d237cbd408afbd24d5809e55a1a2653 /rbutil/rbutilqt/gui/selectiveinstallwidget.h
parent78a01db47cac5fa67aeee6f1c5134f89c3e4944a (diff)
downloadrockbox-b064a6cbb58a0db1a70fbac2e82242ce0c7509b1.tar.gz
rockbox-b064a6cbb58a0db1a70fbac2e82242ce0c7509b1.zip
rbutil: Rework and merge player and build server info handling.
Handling the data for players from rbutil.ini and the build-info data from the server is closely related. Splitting things up into different classes only creates tightly coupling, which is unnecessary, and the need to differentiate between them in the application. Merge both classes into a single one and rework handling so the application doesn't have to deal with two separate classes anymore. Furthermore, change URL templates to use new values from build-info instead of hard coding them. Change-Id: Ica550973ce23d1559110782add52bc214eba552d
Diffstat (limited to 'rbutil/rbutilqt/gui/selectiveinstallwidget.h')
-rw-r--r--rbutil/rbutilqt/gui/selectiveinstallwidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/gui/selectiveinstallwidget.h b/rbutil/rbutilqt/gui/selectiveinstallwidget.h
index 7a969a9e89..6cd1936de5 100644
--- a/rbutil/rbutilqt/gui/selectiveinstallwidget.h
+++ b/rbutil/rbutilqt/gui/selectiveinstallwidget.h
@@ -25,6 +25,7 @@
25#include "zipinstaller.h" 25#include "zipinstaller.h"
26#include "themesinstallwindow.h" 26#include "themesinstallwindow.h"
27#include "systeminfo.h" 27#include "systeminfo.h"
28#include "playerbuildinfo.h"
28 29
29class SelectiveInstallWidget : public QWidget 30class SelectiveInstallWidget : public QWidget
30{ 31{
@@ -65,9 +66,8 @@ class SelectiveInstallWidget : public QWidget
65 ProgressLoggerGui *m_logger; 66 ProgressLoggerGui *m_logger;
66 int m_installStage; 67 int m_installStage;
67 ZipInstaller *m_zipinstaller; 68 ZipInstaller *m_zipinstaller;
68 QMap<SystemInfo::BuildType, QString> m_versions;
69 ThemesInstallWindow *m_themesinstaller; 69 ThemesInstallWindow *m_themesinstaller;
70 SystemInfo::BuildType m_buildtype; 70 PlayerBuildInfo::BuildType m_buildtype;
71}; 71};
72 72
73#endif 73#endif