summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/installbootloader.h
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-07-28 14:38:25 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-07-28 14:38:25 +0000
commit488b3db547a09b25eac212e77ccb64ef81f8ce3f (patch)
tree937671a00b37f4f2ca91c9119fe079ea3e837222 /rbutil/rbutilqt/installbootloader.h
parent999676bdd9b19c9fddb143698bfb5e3f4f4ae62a (diff)
downloadrockbox-488b3db547a09b25eac212e77ccb64ef81f8ce3f.tar.gz
rockbox-488b3db547a09b25eac212e77ccb64ef81f8ce3f.tar.bz2
rockbox-488b3db547a09b25eac212e77ccb64ef81f8ce3f.zip
rbutilQt: bootloader installation routines for iriver players. Bootloader routines are now completed. They need heavy testing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14040 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/installbootloader.h')
-rw-r--r--rbutil/rbutilqt/installbootloader.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/installbootloader.h b/rbutil/rbutilqt/installbootloader.h
index 8f3b6d4b64..f8dfd43c3f 100644
--- a/rbutil/rbutilqt/installbootloader.h
+++ b/rbutil/rbutilqt/installbootloader.h
@@ -24,6 +24,7 @@
#include "ui_installprogressfrm.h"
#include "httpget.h"
+#include "irivertools/irivertools.h"
extern "C" {
// Ipodpatcher
@@ -47,10 +48,11 @@ public:
void setMountPoint(QString mountpoint) {m_mountpoint = mountpoint;}
void setProxy(QUrl proxy) {m_proxy= proxy;}
- void setDevice(QString device) {m_device= device;}
+ void setDevice(QString device) {m_device= device;} // the current plattform
void setBootloaderMethod(QString method) {m_bootloadermethod= method;}
void setBootloaderName(QString name){m_bootloadername= name;}
void setBootloaderBaseUrl(QString baseUrl){m_bootloaderUrlBase = baseUrl;}
+ void setOrigFirmwarePath(QString path) {m_origfirmware = path;} //for iriver original firmware
signals:
void done(bool error); //installation finished.
@@ -83,13 +85,18 @@ private slots:
//sansa specific routines
void sansaPrepare();
void sansaFinish();
+
+ //iriver specific routines
+ void iriverPrepare();
+ void iriverFinish();
private:
QString m_mountpoint, m_device,m_bootloadermethod,m_bootloadername;
- QString m_bootloaderUrlBase,m_tempfilename;
+ QString m_bootloaderUrlBase,m_tempfilename,m_origfirmware;
QUrl m_proxy;
bool m_install;
+ int series,table_entry; // for fwpatcher
HttpGet *getter;
QTemporaryFile downloadFile;