Support "eject" on OS X.
[maemo-rb.git] / rbutil / rbutilqt / base / bootloaderinstallimx.h
blob1d780998ef6596bbffac940d4b14afd6c1dc5460
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2011 by Jean-Louis Biasini
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 ****************************************************************************/
18 #ifndef BOOTLOADERINSTALLIMX_H
19 #define BOOTLOADERINSTALLIMX_H
21 #include <QtCore>
22 #include "bootloaderinstallbase.h"
24 class BootloaderThreadImx;
26 //! bootloader installation class for devices handled by mkimxboot.
27 class BootloaderInstallImx : public BootloaderInstallBase
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();
38 private slots:
39 void installStage2(void);
40 void installStage3(void);
42 private:
43 BootloaderThreadImx *m_thread;
44 QTemporaryFile m_patchedFile;
47 #endif