diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-09-28 17:02:36 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-09-28 17:02:36 +0000 |
commit | 197c24c5d331703b8b1d743f5699263cd623df38 (patch) | |
tree | 9c054f54f43b0c788b0760adf08595fe48643afb /rbutil/rbutilqt/bootloaderinstallmi4.h | |
parent | 063d37b08f6110a250c1f1a70883c4c45705f7b8 (diff) | |
download | rockbox-197c24c5d331703b8b1d743f5699263cd623df38.tar.gz rockbox-197c24c5d331703b8b1d743f5699263cd623df38.zip |
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
Diffstat (limited to 'rbutil/rbutilqt/bootloaderinstallmi4.h')
-rw-r--r-- | rbutil/rbutilqt/bootloaderinstallmi4.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/bootloaderinstallmi4.h b/rbutil/rbutilqt/bootloaderinstallmi4.h new file mode 100644 index 0000000000..12529f2811 --- /dev/null +++ b/rbutil/rbutilqt/bootloaderinstallmi4.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2008 by Dominik Riebeling | ||
10 | * $Id:$ | ||
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 | #include <QtCore> | ||
21 | #include "progressloggerinterface.h" | ||
22 | #include "bootloaderinstallbase.h" | ||
23 | |||
24 | |||
25 | // mi4 bootloader file based installation. | ||
26 | // Puts the bootloader file to the correct location and | ||
27 | // renames the OF to OF.mi4. | ||
28 | class BootloaderInstallMi4 : public BootloaderInstallBase | ||
29 | { | ||
30 | Q_OBJECT | ||
31 | |||
32 | public: | ||
33 | BootloaderInstallMi4(QObject *parent = 0); | ||
34 | bool install(void); | ||
35 | bool uninstall(void); | ||
36 | BootloaderInstallBase::BootloaderType installed(void); | ||
37 | Capabilities capabilities(void); | ||
38 | |||
39 | private slots: | ||
40 | void installStage2(void); | ||
41 | |||
42 | private: | ||
43 | }; | ||
44 | |||