diff options
Diffstat (limited to 'utils/rbutilqt/base/bootloaderinstallmi4.h')
-rw-r--r-- | utils/rbutilqt/base/bootloaderinstallmi4.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/utils/rbutilqt/base/bootloaderinstallmi4.h b/utils/rbutilqt/base/bootloaderinstallmi4.h new file mode 100644 index 0000000000..c56669b99f --- /dev/null +++ b/utils/rbutilqt/base/bootloaderinstallmi4.h | |||
@@ -0,0 +1,48 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2008 by Dominik Riebeling | ||
10 | * | ||
11 | * All files in this archive are subject to the GNU General Public License. | ||
12 | * See the file COPYING in the source tree root for full license agreement. | ||
13 | * | ||
14 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
15 | * KIND, either express or implied. | ||
16 | * | ||
17 | ****************************************************************************/ | ||
18 | |||
19 | #ifndef BOOTLOADERINSTALLMI4_H | ||
20 | #define BOOTLOADERINSTALLMI4_H | ||
21 | |||
22 | #include <QtCore> | ||
23 | #include "progressloggerinterface.h" | ||
24 | #include "bootloaderinstallbase.h" | ||
25 | |||
26 | |||
27 | // mi4 bootloader file based installation. | ||
28 | // Puts the bootloader file to the correct location and | ||
29 | // renames the OF to OF.mi4. | ||
30 | class BootloaderInstallMi4 : public BootloaderInstallBase | ||
31 | { | ||
32 | Q_OBJECT | ||
33 | |||
34 | public: | ||
35 | BootloaderInstallMi4(QObject *parent); | ||
36 | bool install(void); | ||
37 | bool uninstall(void); | ||
38 | BootloaderInstallBase::BootloaderType installed(void); | ||
39 | Capabilities capabilities(void); | ||
40 | |||
41 | private slots: | ||
42 | void installStage2(void); | ||
43 | |||
44 | private: | ||
45 | }; | ||
46 | |||
47 | #endif | ||
48 | |||