test test test
[kugel-rb.git] / rbutil / rbutilqt / base / bootloaderinstallfile.h
blobf77ec7f20dec1feaaab278846c3d9c77b4f85964
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2008 by Dominik Riebeling
10 * $Id$
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.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #include <QtCore>
21 #include "progressloggerinterface.h"
22 #include "bootloaderinstallbase.h"
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).
28 class BootloaderInstallFile : public BootloaderInstallBase
30 Q_OBJECT
32 public:
33 BootloaderInstallFile(QObject *parent);
34 bool install(void);
35 bool uninstall(void);
36 BootloaderInstallBase::BootloaderType installed(void);
37 Capabilities capabilities(void);
39 private slots:
40 void installStage2(void);
42 private: