summaryrefslogtreecommitdiff
path: root/utils/rbutilqt/base/bootloaderinstallimx.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rbutilqt/base/bootloaderinstallimx.h')
-rw-r--r--utils/rbutilqt/base/bootloaderinstallimx.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/utils/rbutilqt/base/bootloaderinstallimx.h b/utils/rbutilqt/base/bootloaderinstallimx.h
new file mode 100644
index 0000000000..1d780998ef
--- /dev/null
+++ b/utils/rbutilqt/base/bootloaderinstallimx.h
@@ -0,0 +1,47 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2011 by Jean-Louis Biasini
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#ifndef BOOTLOADERINSTALLIMX_H
19#define BOOTLOADERINSTALLIMX_H
20
21#include <QtCore>
22#include "bootloaderinstallbase.h"
23
24class BootloaderThreadImx;
25
26//! bootloader installation class for devices handled by mkimxboot.
27class BootloaderInstallImx : public BootloaderInstallBase
28{
29 Q_OBJECT
30 public:
31 BootloaderInstallImx(QObject *parent);
32 bool install(void);
33 bool uninstall(void);
34 BootloaderInstallBase::BootloaderType installed(void);
35 Capabilities capabilities(void);
36 QString ofHint();
37
38 private slots:
39 void installStage2(void);
40 void installStage3(void);
41
42 private:
43 BootloaderThreadImx *m_thread;
44 QTemporaryFile m_patchedFile;
45};
46
47#endif