From e863d595b50867c550d53cd9d92032fcbb82ef3c Mon Sep 17 00:00:00 2001 From: Dominik Wenger Date: Wed, 21 Feb 2007 20:27:14 +0000 Subject: Implementation of Bootloader installation/uninstallation for all Targets in rbUtil. Needs testing. FS#6643 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12439 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/rbutil.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'rbutil/rbutil.h') diff --git a/rbutil/rbutil.h b/rbutil/rbutil.h index c1816d5d0b..b499f44e18 100644 --- a/rbutil/rbutil.h +++ b/rbutil/rbutil.h @@ -85,6 +85,11 @@ public: wxArrayString plat_id; wxArrayString plat_name; wxArrayInt plat_released; + wxArrayInt plat_needsbootloader; + wxArrayString plat_bootloadermethod; + wxArrayString plat_bootloadername; + wxArrayInt plat_autodetect; + wxArrayString plat_combinedname; wxString download_url; wxString daily_url; wxString bleeding_url; @@ -92,6 +97,7 @@ public: wxString font_url; wxString last_release; wxString prog_name; + wxString bootloader_url; // User configuration data. wxString curplat; @@ -101,6 +107,9 @@ public: bool curisfull; bool nocache; bool portable; + wxString curbootloadermethod; + wxString curbootloader; + wxString curfirmware; // Global system variables wxFFile* logfile; @@ -120,6 +129,7 @@ bool InstallRbutil(wxString dest); wxString stream_err_str(int errnum); bool rm_rf(wxString file); + #define ERR_DIALOG(msg, title) \ wxLogError("%s: %s", ((wxString) title).c_str(), ((wxString) msg).c_str()) @@ -136,4 +146,7 @@ bool rm_rf(wxString file); #define BUILD_DAILY 1 #define BUILD_BLEEDING 2 +#define BOOTLOADER_ADD 0 +#define BOOTLOADER_REM 1 + #endif -- cgit v1.2.3