summaryrefslogtreecommitdiff
path: root/rbutil/rbutil.h
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-02-21 20:27:14 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-02-21 20:27:14 +0000
commite863d595b50867c550d53cd9d92032fcbb82ef3c (patch)
tree2f21dc466248a72c897305fc6c6f182eb692ca2c /rbutil/rbutil.h
parenta5e0380d9045c3a075ad633fef981f4a4ae82f14 (diff)
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
Diffstat (limited to 'rbutil/rbutil.h')
-rw-r--r--rbutil/rbutil.h13
1 files changed, 13 insertions, 0 deletions
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