summaryrefslogtreecommitdiff
path: root/rbutil/rbutil.h
diff options
context:
space:
mode:
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:
85 wxArrayString plat_id; 85 wxArrayString plat_id;
86 wxArrayString plat_name; 86 wxArrayString plat_name;
87 wxArrayInt plat_released; 87 wxArrayInt plat_released;
88 wxArrayInt plat_needsbootloader;
89 wxArrayString plat_bootloadermethod;
90 wxArrayString plat_bootloadername;
91 wxArrayInt plat_autodetect;
92 wxArrayString plat_combinedname;
88 wxString download_url; 93 wxString download_url;
89 wxString daily_url; 94 wxString daily_url;
90 wxString bleeding_url; 95 wxString bleeding_url;
@@ -92,6 +97,7 @@ public:
92 wxString font_url; 97 wxString font_url;
93 wxString last_release; 98 wxString last_release;
94 wxString prog_name; 99 wxString prog_name;
100 wxString bootloader_url;
95 101
96 // User configuration data. 102 // User configuration data.
97 wxString curplat; 103 wxString curplat;
@@ -101,6 +107,9 @@ public:
101 bool curisfull; 107 bool curisfull;
102 bool nocache; 108 bool nocache;
103 bool portable; 109 bool portable;
110 wxString curbootloadermethod;
111 wxString curbootloader;
112 wxString curfirmware;
104 113
105 // Global system variables 114 // Global system variables
106 wxFFile* logfile; 115 wxFFile* logfile;
@@ -120,6 +129,7 @@ bool InstallRbutil(wxString dest);
120wxString stream_err_str(int errnum); 129wxString stream_err_str(int errnum);
121bool rm_rf(wxString file); 130bool rm_rf(wxString file);
122 131
132
123#define ERR_DIALOG(msg, title) \ 133#define ERR_DIALOG(msg, title) \
124 wxLogError("%s: %s", ((wxString) title).c_str(), ((wxString) msg).c_str()) 134 wxLogError("%s: %s", ((wxString) title).c_str(), ((wxString) msg).c_str())
125 135
@@ -136,4 +146,7 @@ bool rm_rf(wxString file);
136#define BUILD_DAILY 1 146#define BUILD_DAILY 1
137#define BUILD_BLEEDING 2 147#define BUILD_BLEEDING 2
138 148
149#define BOOTLOADER_ADD 0
150#define BOOTLOADER_REM 1
151
139#endif 152#endif