diff options
Diffstat (limited to 'utils/rbutilqt/base/bootloaderinstallfile.h')
-rw-r--r-- | utils/rbutilqt/base/bootloaderinstallfile.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/utils/rbutilqt/base/bootloaderinstallfile.h b/utils/rbutilqt/base/bootloaderinstallfile.h new file mode 100644 index 0000000000..9f9586279c --- /dev/null +++ b/utils/rbutilqt/base/bootloaderinstallfile.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 BOOTLOADERINSTALLFILE_H | ||
20 | #define BOOTLOADERINSTALLFILE_H | ||
21 | |||
22 | #include <QtCore> | ||
23 | #include "progressloggerinterface.h" | ||
24 | #include "bootloaderinstallbase.h" | ||
25 | |||
26 | //! install a bootloader by putting a single file on the player. | ||
27 | // This installation method is used by Iaudio (firmware is flashed | ||
28 | // automatically) and Gigabeat (Firmware is a file, OF needs to get | ||
29 | // renamed). | ||
30 | class BootloaderInstallFile : public BootloaderInstallBase | ||
31 | { | ||
32 | Q_OBJECT | ||
33 | |||
34 | public: | ||
35 | BootloaderInstallFile(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 | |||