summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/multiinstaller.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/multiinstaller.h')
-rw-r--r--rbutil/rbutilqt/multiinstaller.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/multiinstaller.h b/rbutil/rbutilqt/multiinstaller.h
new file mode 100644
index 0000000000..34c593843a
--- /dev/null
+++ b/rbutil/rbutilqt/multiinstaller.h
@@ -0,0 +1,66 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: multiinstaller.h 14462 2007-08-26 16:44:23Z domonoky $
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#ifndef MULTIINSTALLER_H
21#define MULTIINSTALLER_H
22
23#include <QtGui>
24
25#include "progressloggerinterface.h"
26
27
28class MultiInstaller : public QObject
29{
30 Q_OBJECT
31
32public:
33 MultiInstaller(QObject* parent);
34
35 void setUserSettings(QSettings*);
36 void setDeviceSettings(QSettings*);
37 void setProxy(QUrl proxy);
38 void setVersionStrings(QMap<QString, QString>);
39
40 void installComplete();
41 void installSmall();
42
43
44private slots:
45 void installdone(bool error);
46
47private:
48 bool installBootloader();
49 bool installRockbox();
50 bool installDoom();
51 bool installFonts();
52 bool installThemes();
53
54 ProgressloggerInterface* logger;
55 QSettings *devices;
56 QSettings *userSettings;
57
58 QString m_mountpoint,m_plattform;
59 QUrl m_proxy;
60 QMap<QString, QString> version;
61
62
63 volatile bool installed;
64 volatile bool m_error;
65};
66#endif