summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/bootloaderinstallbase.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-01-15 23:20:17 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-01-15 23:32:15 +0100
commitb45cc0a13a20e88546cd7a536f09979edf8353a1 (patch)
tree1189e5a6381c7f4a8ac770bafbb9a21f49d5e930 /rbutil/rbutilqt/base/bootloaderinstallbase.h
parent66c3086ae54c71413117f3de3dcfb5f0fe8b541d (diff)
downloadrockbox-b45cc0a13a20e88546cd7a536f09979edf8353a1.tar.gz
rockbox-b45cc0a13a20e88546cd7a536f09979edf8353a1.zip
Support reading OF files from zip.
Several devices require the original firmware to be able installing the bootloader. Most vendors distribute the firmware file in zip format. Extend reading the original firmware file to support reading the file from the zip directly instead of requiring the user to separately extract it. Change-Id: Ic4e89053456d8f7d6adc294f6657aceddbc354ba
Diffstat (limited to 'rbutil/rbutilqt/base/bootloaderinstallbase.h')
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallbase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallbase.h b/rbutil/rbutilqt/base/bootloaderinstallbase.h
index 8198d54e76..0e970c4af6 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallbase.h
+++ b/rbutil/rbutilqt/base/bootloaderinstallbase.h
@@ -60,8 +60,7 @@ class BootloaderInstallBase : public QObject
60 { m_blurl = u; } 60 { m_blurl = u; }
61 void setLogfile(QString f) 61 void setLogfile(QString f)
62 { m_logfile = f; } 62 { m_logfile = f; }
63 void setOfFile(QString f) 63 bool setOfFile(QString of, QStringList blfile);
64 {m_offile = f;}
65 64
66 //! returns a port Install Hint or empty if there is none 65 //! returns a port Install Hint or empty if there is none
67 //! static and in the base class, so the installer classes dont need to 66 //! static and in the base class, so the installer classes dont need to
@@ -90,6 +89,7 @@ class BootloaderInstallBase : public QObject
90 QString m_logfile; //! file for installation log 89 QString m_logfile; //! file for installation log
91 QUrl m_blurl; //! bootloader download URL 90 QUrl m_blurl; //! bootloader download URL
92 QTemporaryFile m_tempfile; //! temporary file for download 91 QTemporaryFile m_tempfile; //! temporary file for download
92 QTemporaryFile m_tempof; //! temporary file for OF extracted from archive
93 QDateTime m_blversion; //! download timestamp used for version information 93 QDateTime m_blversion; //! download timestamp used for version information
94 QString m_offile; //! path to the offile 94 QString m_offile; //! path to the offile
95#if defined(Q_OS_MACX) 95#if defined(Q_OS_MACX)