1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2008 by Dominik Riebeling
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.
14 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
15 * KIND, either express or implied.
17 ****************************************************************************/
19 #ifndef BOOTLOADERINSTALLHEX_H
20 #define BOOTLOADERINSTALLHEX_H
23 #include "bootloaderinstallbase.h"
26 // bootloader installation derivate based on fwpatcher
27 // This will patch a given hex file using (de)scramble / mkboot
28 // and put it on the player.
29 class BootloaderInstallHex
: public BootloaderInstallBase
34 BootloaderInstallHex(QObject
*parent
= 0);
37 BootloaderInstallBase::BootloaderType
installed(void);
38 Capabilities
capabilities(void);
44 QTemporaryFile m_descrambled
;
45 QString
scrambleError(int);
48 void installStage2(void);