Rewrite dircache generation to take advantage for the FAT code. Reduce RAM usage...
[kugel-rb.git] / rbutil / rbutilqt / base / bootloaderinstallfile.h
blob65e94670031a59384cb8de58dc0d23ec7363f7c5
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 #ifndef BOOTLOADERINSTALLFILE_H
21 #define BOOTLOADERINSTALLFILE_H
23 #include <QtCore>
24 #include "progressloggerinterface.h"
25 #include "bootloaderinstallbase.h"
27 //! install a bootloader by putting a single file on the player.
28 // This installation method is used by Iaudio (firmware is flashed
29 // automatically) and Gigabeat (Firmware is a file, OF needs to get
30 // renamed).
31 class BootloaderInstallFile : public BootloaderInstallBase
33 Q_OBJECT
35 public:
36 BootloaderInstallFile(QObject *parent);
37 bool install(void);
38 bool uninstall(void);
39 BootloaderInstallBase::BootloaderType installed(void);
40 Capabilities capabilities(void);
42 private slots:
43 void installStage2(void);
45 private:
48 #endif