simplify my last commit. Thanks to obo for the hint.
[Rockbox.git] / rbutil / bootloaders.h
blobd5bda126ccef7fbc495ff39d5861595b607a651f
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * Module: rbutil
9 * File: bootloaders.h
11 * Copyright (C) 2007 Dominik Wenger
13 * All files in this archive are subject to the GNU General Public License.
14 * See the file COPYING in the source tree root for full license agreement.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
23 #ifndef BOOTLOADERS_H_INCLUDED
24 #define BOOTLOADERS_H_INCLUDED
26 #include <wx/string.h>
27 #include "irivertools.h"
28 #include "md5sum.h"
30 #include "rbutil.h"
31 #include "installlog.h"
33 extern "C" {
34 // Ipodpatcher
35 #include "ipodpatcher/ipodpatcher.h"
36 // Sansapatcher
37 #include "sansapatcher/sansapatcher.h"
41 bool initIpodpatcher();
42 bool initSansaPatcher();
43 bool ipodpatcher(int mode,wxString bootloadername);
44 bool sansapatcher(int mode,wxString bootloadername);
45 bool gigabeatf(int mode,wxString bootloadername,wxString deviceDir);
46 bool iaudiox5(int mode,wxString bootloadername,wxString deviceDir);
47 bool fwpatcher(int mode,wxString bootloadername,wxString deviceDir,wxString firmware);
48 bool h10(int mode,wxString bootloadername,wxString deviceDir);
51 #endif // BOOTLOADERS_H_INCLUDED