diff options
Diffstat (limited to 'rbutil/rbutilqt/bootloaderinstallipod.h')
-rw-r--r-- | rbutil/rbutilqt/bootloaderinstallipod.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/bootloaderinstallipod.h b/rbutil/rbutilqt/bootloaderinstallipod.h new file mode 100644 index 0000000000..1e464a228b --- /dev/null +++ b/rbutil/rbutilqt/bootloaderinstallipod.h | |||
@@ -0,0 +1,50 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2008 by Dominik Riebeling | ||
10 | * $Id:$ | ||
11 | * | ||
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. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | #ifndef BOOTLOADERINSTALLIPOD_H | ||
21 | #define BOOTLOADERINSTALLIPOD_H | ||
22 | |||
23 | #include <QtCore> | ||
24 | #include "bootloaderinstallbase.h" | ||
25 | #include "../ipodpatcher/ipodpatcher.h" | ||
26 | |||
27 | // installer class derivate for Ipod installation | ||
28 | // based on ipodpatcher. | ||
29 | class BootloaderInstallIpod : public BootloaderInstallBase | ||
30 | { | ||
31 | Q_OBJECT | ||
32 | |||
33 | public: | ||
34 | BootloaderInstallIpod(QObject *parent = 0); | ||
35 | ~BootloaderInstallIpod(); | ||
36 | bool install(void); | ||
37 | bool uninstall(void); | ||
38 | BootloaderInstallBase::BootloaderType installed(void); | ||
39 | Capabilities capabilities(void); | ||
40 | |||
41 | private slots: | ||
42 | void installStage2(void); | ||
43 | |||
44 | private: | ||
45 | bool ipodInitialize(struct ipod_t *); | ||
46 | }; | ||
47 | |||
48 | |||
49 | #endif | ||
50 | |||