summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/bootloaderinstallfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/bootloaderinstallfile.h')
-rw-r--r--rbutil/rbutilqt/bootloaderinstallfile.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/bootloaderinstallfile.h b/rbutil/rbutilqt/bootloaderinstallfile.h
new file mode 100644
index 0000000000..6ffc03b037
--- /dev/null
+++ b/rbutil/rbutilqt/bootloaderinstallfile.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//! install a bootloader by putting a single file on the player.
25// This installation method is used by Iaudio (firmware is flashed
26// automatically) and Gigabeat (Firmware is a file, OF needs to get
27// renamed).
28class BootloaderInstallFile : public BootloaderInstallBase
29{
30 Q_OBJECT
31
32 public:
33 BootloaderInstallFile(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