summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/installbootloader.h
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2007-09-15 22:57:07 +0000
committerAntoine Cellerier <dionoea@videolan.org>2007-09-15 22:57:07 +0000
commit1464c9b5d03c105d985320083fd36788036a0dd6 (patch)
treeeaa039f5632d5d8eb5065fb81fe462a95031c149 /rbutil/rbutilqt/installbootloader.h
parent76ea412d5f8ea786b60aaf773e44b997f36aaa01 (diff)
downloadrockbox-1464c9b5d03c105d985320083fd36788036a0dd6.tar.gz
rockbox-1464c9b5d03c105d985320083fd36788036a0dd6.tar.bz2
rockbox-1464c9b5d03c105d985320083fd36788036a0dd6.zip
Cosmetics: remove trailing spaces.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14723 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/installbootloader.h')
-rw-r--r--rbutil/rbutilqt/installbootloader.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/rbutil/rbutilqt/installbootloader.h b/rbutil/rbutilqt/installbootloader.h
index 496389e9dc..03b715c15e 100644
--- a/rbutil/rbutilqt/installbootloader.h
+++ b/rbutil/rbutilqt/installbootloader.h
@@ -16,7 +16,7 @@
* KIND, either express or implied.
*
****************************************************************************/
-
+
#ifndef INSTALLBOOTLOADER_H
#define INSTALLBOOTLOADER_H
@@ -38,14 +38,14 @@ bool initSansapatcher();
class BootloaderInstaller : public QObject
{
Q_OBJECT
-
+
public:
BootloaderInstaller(QObject* parent);
~BootloaderInstaller() {}
void install(ProgressloggerInterface* dp);
void uninstall(ProgressloggerInterface* dp);
-
+
void setMountPoint(QString mountpoint) {m_mountpoint = mountpoint;}
void setProxy(QUrl proxy) {m_proxy= proxy;}
void setDevice(QString device) {m_device= device;} //!< the current plattform
@@ -56,14 +56,14 @@ public:
void setBootloaderInfoUrl(QString url) {m_bootloaderinfoUrl =url; } //!< the url for the info file
bool downloadInfo(); //!< should be called before install/uninstall, blocks until downloaded.
bool uptodate(); //!< returns wether the bootloader is uptodate
-
+
signals:
void done(bool error); //installation finished.
-
+
signals: // internal signals. Dont use this from out side.
void prepare();
- void finish();
-
+ void finish();
+
private slots:
void createInstallLog(); // adds the bootloader entry to the log
void removeInstallLog(); // removes the bootloader entry from the log
@@ -74,23 +74,23 @@ private slots:
void infoDownloadDone(bool);
void infoRequestFinished(int, bool);
void installEnded(bool);
-
+
// gigabeat specific routines
void gigabeatPrepare();
void gigabeatFinish();
-
+
//iaudio specific routines
void iaudioPrepare();
void iaudioFinish();
-
+
//h10 specific routines
void h10Prepare();
void h10Finish();
-
+
//ipod specific routines
void ipodPrepare();
void ipodFinish();
-
+
//sansa specific routines
void sansaPrepare();
void sansaFinish();
@@ -98,25 +98,25 @@ private slots:
//iriver specific routines
void iriverPrepare();
void iriverFinish();
-
+
private:
-
+
HttpGet *infodownloader;
QTemporaryFile bootloaderInfo;
volatile bool infoDownloaded;
volatile bool infoError;
-
+
QString m_mountpoint, m_device,m_bootloadermethod,m_bootloadername;
QString m_bootloaderUrlBase,m_tempfilename,m_origfirmware;
QUrl m_proxy;
QString m_bootloaderinfoUrl;
bool m_install;
-
+
int series,table_entry; // for fwpatcher
-
+
HttpGet *getter;
QTemporaryFile downloadFile;
-
+
ProgressloggerInterface* m_dp;
};