mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Completely rework the bootloader installation class:
- create a base class and make derived classes for each installation type. - sort installations by type, not by player model. - remove duplicated code for iriver (de)scrambling functionality and use the functions inside of the tools folder directly -- we already do the same for rbspeex. - make bootloader file backup optional and allow choosing a target location. - clean up some wording and add some more guiding messages. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18657 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
063d37b08f
commit
197c24c5d3
29 changed files with 1812 additions and 2895 deletions
|
|
@ -30,7 +30,7 @@
|
|||
#include "httpget.h"
|
||||
#include "installzip.h"
|
||||
#include "progressloggergui.h"
|
||||
#include "installbootloader.h"
|
||||
#include "bootloaderinstallbase.h"
|
||||
|
||||
#include "rbsettings.h"
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ class RbUtilQt : public QMainWindow
|
|||
private:
|
||||
Ui::RbUtilQtFrm ui;
|
||||
RbSettings* settings;
|
||||
|
||||
|
||||
void initDeviceNames(void);
|
||||
QString deviceName(QString);
|
||||
QString platform;
|
||||
|
|
@ -56,14 +56,15 @@ class RbUtilQt : public QMainWindow
|
|||
void updateManual(void);
|
||||
ProgressLoggerGui *logger;
|
||||
ZipInstaller *installer;
|
||||
BootloaderInstaller* blinstaller;
|
||||
QUrl proxy(void);
|
||||
QMap<QString, QString> versmap;
|
||||
bool chkConfig(bool);
|
||||
|
||||
volatile bool m_installed;
|
||||
volatile bool m_error;
|
||||
QString m_networkerror;
|
||||
bool m_gotInfo;
|
||||
bool m_auto;
|
||||
|
||||
private slots:
|
||||
void about(void);
|
||||
|
|
@ -85,6 +86,7 @@ class RbUtilQt : public QMainWindow
|
|||
void installBootloaderBtn(void);
|
||||
bool installBootloaderAuto(void);
|
||||
void installBootloader(void);
|
||||
void installBootloaderPost(bool error);
|
||||
|
||||
void installFontsBtn(void);
|
||||
bool installFontsAuto(void);
|
||||
|
|
@ -101,6 +103,7 @@ class RbUtilQt : public QMainWindow
|
|||
void downloadDone(int, bool);
|
||||
void downloadBleedingDone(bool);
|
||||
void downloadInfo(void);
|
||||
|
||||
void installVoice(void);
|
||||
void installThemes(void);
|
||||
void uninstall(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue