diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2009-08-22 14:05:20 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2009-08-22 14:05:20 +0000 |
commit | da358058cbe74d558734fb6312f21bf092f61e05 (patch) | |
tree | 3e97585b6d7b6c9bd03937ad2da9c481735988db | |
parent | 20b0dd2788794521ac7f3eec1065b7de99e4a5aa (diff) | |
download | rockbox-da358058cbe74d558734fb6312f21bf092f61e05.tar.gz rockbox-da358058cbe74d558734fb6312f21bf092f61e05.zip |
rbutil: use target-id from rockbox-info.txt and remove it from rbutil.ini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22463 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | rbutil/rbutilqt/base/rbsettings.cpp | 1 | ||||
-rw-r--r-- | rbutil/rbutilqt/base/rbsettings.h | 1 | ||||
-rw-r--r-- | rbutil/rbutilqt/base/voicefile.cpp | 1 | ||||
-rw-r--r-- | rbutil/rbutilqt/base/voicefile.h | 1 | ||||
-rw-r--r-- | rbutil/rbutilqt/createvoicewindow.cpp | 1 | ||||
-rw-r--r-- | rbutil/rbutilqt/rbutil.ini | 38 |
6 files changed, 1 insertions, 42 deletions
diff --git a/rbutil/rbutilqt/base/rbsettings.cpp b/rbutil/rbutilqt/base/rbsettings.cpp index 412554905a..40b2d02bfc 100644 --- a/rbutil/rbutilqt/base/rbsettings.cpp +++ b/rbutil/rbutilqt/base/rbsettings.cpp | |||
@@ -55,7 +55,6 @@ const static struct { | |||
55 | { RbSettings::CurName, ":platform:/name", "" }, | 55 | { RbSettings::CurName, ":platform:/name", "" }, |
56 | { RbSettings::CurBuildserverModel, ":platform:/buildserver_modelname", "" }, | 56 | { RbSettings::CurBuildserverModel, ":platform:/buildserver_modelname", "" }, |
57 | { RbSettings::CurConfigureModel, ":platform:/configure_modelname", "" }, | 57 | { RbSettings::CurConfigureModel, ":platform:/configure_modelname", "" }, |
58 | { RbSettings::CurTargetId, ":platform:/targetid", "" }, | ||
59 | }; | 58 | }; |
60 | 59 | ||
61 | // user settings | 60 | // user settings |
diff --git a/rbutil/rbutilqt/base/rbsettings.h b/rbutil/rbutilqt/base/rbsettings.h index 7325f87f8b..e178be0e52 100644 --- a/rbutil/rbutilqt/base/rbsettings.h +++ b/rbutil/rbutilqt/base/rbsettings.h | |||
@@ -94,7 +94,6 @@ class RbSettings : public QObject | |||
94 | CurName, | 94 | CurName, |
95 | CurBuildserverModel, | 95 | CurBuildserverModel, |
96 | CurConfigureModel, | 96 | CurConfigureModel, |
97 | CurTargetId, | ||
98 | }; | 97 | }; |
99 | 98 | ||
100 | //! call this to flush the user Settings | 99 | //! call this to flush the user Settings |
diff --git a/rbutil/rbutilqt/base/voicefile.cpp b/rbutil/rbutilqt/base/voicefile.cpp index 6eff308cd1..8edb240698 100644 --- a/rbutil/rbutilqt/base/voicefile.cpp +++ b/rbutil/rbutilqt/base/voicefile.cpp | |||
@@ -57,6 +57,7 @@ bool VoiceFileCreator::createVoiceFile() | |||
57 | QString target = info.target(); | 57 | QString target = info.target(); |
58 | QString features = info.features(); | 58 | QString features = info.features(); |
59 | QString version = info.version(); | 59 | QString version = info.version(); |
60 | m_targetid = info.targetID().toInt(); | ||
60 | version = version.left(version.indexOf("-")).remove("r"); | 61 | version = version.left(version.indexOf("-")).remove("r"); |
61 | 62 | ||
62 | //prepare download url | 63 | //prepare download url |
diff --git a/rbutil/rbutilqt/base/voicefile.h b/rbutil/rbutilqt/base/voicefile.h index 26c4a408f7..72f905e4f2 100644 --- a/rbutil/rbutilqt/base/voicefile.h +++ b/rbutil/rbutilqt/base/voicefile.h | |||
@@ -40,7 +40,6 @@ public: | |||
40 | bool createVoiceFile(); | 40 | bool createVoiceFile(); |
41 | 41 | ||
42 | void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; } | 42 | void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; } |
43 | void setTargetId(int id){m_targetid = id;} | ||
44 | void setLang(QString name){m_lang =name;} | 43 | void setLang(QString name){m_lang =name;} |
45 | void setWavtrimThreshold(int th){m_wavtrimThreshold = th;} | 44 | void setWavtrimThreshold(int th){m_wavtrimThreshold = th;} |
46 | 45 | ||
diff --git a/rbutil/rbutilqt/createvoicewindow.cpp b/rbutil/rbutilqt/createvoicewindow.cpp index 268e9f50e7..e5514ac3e1 100644 --- a/rbutil/rbutilqt/createvoicewindow.cpp +++ b/rbutil/rbutilqt/createvoicewindow.cpp | |||
@@ -55,7 +55,6 @@ void CreateVoiceWindow::accept() | |||
55 | 55 | ||
56 | //configure voicecreator | 56 | //configure voicecreator |
57 | voicecreator->setMountPoint(RbSettings::value(RbSettings::Mountpoint).toString()); | 57 | voicecreator->setMountPoint(RbSettings::value(RbSettings::Mountpoint).toString()); |
58 | voicecreator->setTargetId(RbSettings::value(RbSettings::CurTargetId).toInt()); | ||
59 | voicecreator->setLang(lang); | 58 | voicecreator->setLang(lang); |
60 | voicecreator->setWavtrimThreshold(wvThreshold); | 59 | voicecreator->setWavtrimThreshold(wvThreshold); |
61 | 60 | ||
diff --git a/rbutil/rbutilqt/rbutil.ini b/rbutil/rbutilqt/rbutil.ini index 61d14fa6a5..12bd4563ef 100644 --- a/rbutil/rbutilqt/rbutil.ini +++ b/rbutil/rbutilqt/rbutil.ini | |||
@@ -66,7 +66,6 @@ bootloadername= | |||
66 | manualname= | 66 | manualname= |
67 | brand=Archos | 67 | brand=Archos |
68 | configure_modelname=player | 68 | configure_modelname=player |
69 | targetid=1 | ||
70 | encoder=lame | 69 | encoder=lame |
71 | 70 | ||
72 | [recorder] | 71 | [recorder] |
@@ -77,7 +76,6 @@ bootloadername= | |||
77 | manualname= | 76 | manualname= |
78 | brand=Archos | 77 | brand=Archos |
79 | configure_modelname=recorder | 78 | configure_modelname=recorder |
80 | targetid=2 | ||
81 | encoder=lame | 79 | encoder=lame |
82 | 80 | ||
83 | [recorder8mb] | 81 | [recorder8mb] |
@@ -88,7 +86,6 @@ bootloadername= | |||
88 | manualname=rockbox-recorder | 86 | manualname=rockbox-recorder |
89 | brand=Archos | 87 | brand=Archos |
90 | configure_modelname=recorder | 88 | configure_modelname=recorder |
91 | targetid=2 | ||
92 | encoder=lame | 89 | encoder=lame |
93 | 90 | ||
94 | [recorderv2] | 91 | [recorderv2] |
@@ -99,7 +96,6 @@ bootloadername= | |||
99 | manualname= | 96 | manualname= |
100 | brand=Archos | 97 | brand=Archos |
101 | configure_modelname=recorderv2 | 98 | configure_modelname=recorderv2 |
102 | targetid=4 | ||
103 | encoder=lame | 99 | encoder=lame |
104 | 100 | ||
105 | [fmrecorder] | 101 | [fmrecorder] |
@@ -110,7 +106,6 @@ bootloadername= | |||
110 | manualname= | 106 | manualname= |
111 | brand=Archos | 107 | brand=Archos |
112 | configure_modelname=fmrecorder | 108 | configure_modelname=fmrecorder |
113 | targetid=3 | ||
114 | encoder=lame | 109 | encoder=lame |
115 | 110 | ||
116 | [fmrecorder8mb] | 111 | [fmrecorder8mb] |
@@ -121,7 +116,6 @@ bootloadername= | |||
121 | manualname=rockbox-fmrecorder | 116 | manualname=rockbox-fmrecorder |
122 | brand=Archos | 117 | brand=Archos |
123 | configure_modelname=fmrecorder | 118 | configure_modelname=fmrecorder |
124 | targetid=3 | ||
125 | encoder=lame | 119 | encoder=lame |
126 | 120 | ||
127 | [ondiosp] | 121 | [ondiosp] |
@@ -132,7 +126,6 @@ bootloadername= | |||
132 | manualname= | 126 | manualname= |
133 | brand=Archos | 127 | brand=Archos |
134 | configure_modelname=ondiosp | 128 | configure_modelname=ondiosp |
135 | targetid=7 | ||
136 | encoder=lame | 129 | encoder=lame |
137 | 130 | ||
138 | [ondiofm] | 131 | [ondiofm] |
@@ -143,7 +136,6 @@ bootloadername= | |||
143 | manualname= | 136 | manualname= |
144 | brand=Archos | 137 | brand=Archos |
145 | configure_modelname=ondiofm | 138 | configure_modelname=ondiofm |
146 | targetid=8 | ||
147 | encoder=lame | 139 | encoder=lame |
148 | 140 | ||
149 | [h100] | 141 | [h100] |
@@ -156,7 +148,6 @@ manualname=rockbox-h100 | |||
156 | brand=Iriver | 148 | brand=Iriver |
157 | usbid=0x10063001 | 149 | usbid=0x10063001 |
158 | configure_modelname=h100 | 150 | configure_modelname=h100 |
159 | targetid=11 | ||
160 | encoder=rbspeex | 151 | encoder=rbspeex |
161 | 152 | ||
162 | [h120] | 153 | [h120] |
@@ -169,7 +160,6 @@ manualname=rockbox-h100 | |||
169 | brand=Iriver | 160 | brand=Iriver |
170 | usbid=0x10063002 | 161 | usbid=0x10063002 |
171 | configure_modelname=h120 | 162 | configure_modelname=h120 |
172 | targetid=9 | ||
173 | encoder=rbspeex | 163 | encoder=rbspeex |
174 | 164 | ||
175 | [h300] | 165 | [h300] |
@@ -182,7 +172,6 @@ manualname=rockbox-h300 | |||
182 | brand=Iriver | 172 | brand=Iriver |
183 | usbid=0x10063003 | 173 | usbid=0x10063003 |
184 | configure_modelname=h300 | 174 | configure_modelname=h300 |
185 | targetid=10 | ||
186 | encoder=rbspeex | 175 | encoder=rbspeex |
187 | 176 | ||
188 | [h10_5gbums] | 177 | [h10_5gbums] |
@@ -195,7 +184,6 @@ manualname= | |||
195 | brand=Iriver | 184 | brand=Iriver |
196 | usbid=0x41022002 | 185 | usbid=0x41022002 |
197 | configure_modelname=h10_5gb | 186 | configure_modelname=h10_5gb |
198 | targetid=24 | ||
199 | encoder=rbspeex | 187 | encoder=rbspeex |
200 | 188 | ||
201 | [h10_5gbmtp] | 189 | [h10_5gbmtp] |
@@ -208,7 +196,6 @@ manualname= | |||
208 | brand=Iriver | 196 | brand=Iriver |
209 | usbid=0x41022105 | 197 | usbid=0x41022105 |
210 | configure_modelname=h10_5gb | 198 | configure_modelname=h10_5gb |
211 | targetid=24 | ||
212 | encoder=rbspeex | 199 | encoder=rbspeex |
213 | 200 | ||
214 | [h10] | 201 | [h10] |
@@ -222,7 +209,6 @@ brand=Iriver | |||
222 | usbid=0x0b7000ba | 209 | usbid=0x0b7000ba |
223 | usberror=0x41022101 | 210 | usberror=0x41022101 |
224 | configure_modelname=h10 | 211 | configure_modelname=h10 |
225 | targetid=22 | ||
226 | encoder=rbspeex | 212 | encoder=rbspeex |
227 | 213 | ||
228 | [ipod1g2g] | 214 | [ipod1g2g] |
@@ -233,7 +219,6 @@ bootloadername=/ipod/bootloader-ipod1g2g.ipod | |||
233 | manualname= | 219 | manualname= |
234 | brand=Apple | 220 | brand=Apple |
235 | configure_modelname=ipod1g2g | 221 | configure_modelname=ipod1g2g |
236 | targetid=29 | ||
237 | encoder=rbspeex | 222 | encoder=rbspeex |
238 | 223 | ||
239 | [ipodcolor] | 224 | [ipodcolor] |
@@ -244,7 +229,6 @@ bootloadername=/ipod/bootloader-ipodcolor.ipod | |||
244 | manualname= | 229 | manualname= |
245 | brand=Apple | 230 | brand=Apple |
246 | configure_modelname=ipodcolor | 231 | configure_modelname=ipodcolor |
247 | targetid=13 | ||
248 | encoder=rbspeex | 232 | encoder=rbspeex |
249 | 233 | ||
250 | [ipodnano] | 234 | [ipodnano] |
@@ -255,7 +239,6 @@ bootloadername=/ipod/bootloader-ipodnano.ipod | |||
255 | manualname= | 239 | manualname= |
256 | brand=Apple | 240 | brand=Apple |
257 | configure_modelname=ipodnano | 241 | configure_modelname=ipodnano |
258 | targetid=14 | ||
259 | encoder=rbspeex | 242 | encoder=rbspeex |
260 | 243 | ||
261 | [ipod4gray] | 244 | [ipod4gray] |
@@ -266,7 +249,6 @@ bootloadername=/ipod/bootloader-ipod4g.ipod | |||
266 | manualname= | 249 | manualname= |
267 | brand=Apple | 250 | brand=Apple |
268 | configure_modelname=ipod4g | 251 | configure_modelname=ipod4g |
269 | targetid=17 | ||
270 | encoder=rbspeex | 252 | encoder=rbspeex |
271 | 253 | ||
272 | [ipodvideo] | 254 | [ipodvideo] |
@@ -277,7 +259,6 @@ bootloadername=/ipod/bootloader-ipodvideo.ipod | |||
277 | manualname= | 259 | manualname= |
278 | brand=Apple | 260 | brand=Apple |
279 | configure_modelname=ipodvideo | 261 | configure_modelname=ipodvideo |
280 | targetid=15 | ||
281 | encoder=rbspeex | 262 | encoder=rbspeex |
282 | 263 | ||
283 | [ipodvideo64mb] | 264 | [ipodvideo64mb] |
@@ -288,7 +269,6 @@ bootloadername=/ipod/bootloader-ipodvideo.ipod | |||
288 | manualname= | 269 | manualname= |
289 | brand=Apple | 270 | brand=Apple |
290 | configure_modelname=ipodvideo | 271 | configure_modelname=ipodvideo |
291 | targetid=15 | ||
292 | encoder=rbspeex | 272 | encoder=rbspeex |
293 | 273 | ||
294 | [ipod3g] | 274 | [ipod3g] |
@@ -300,7 +280,6 @@ manualname= | |||
300 | brand=Apple | 280 | brand=Apple |
301 | usbid=0x05ac1201 | 281 | usbid=0x05ac1201 |
302 | configure_modelname=ipod3g | 282 | configure_modelname=ipod3g |
303 | targetid=16 | ||
304 | encoder=rbspeex | 283 | encoder=rbspeex |
305 | 284 | ||
306 | [ipodmini1g] | 285 | [ipodmini1g] |
@@ -311,7 +290,6 @@ bootloadername=/ipod/bootloader-ipodmini.ipod | |||
311 | manualname=rockbox-ipodmini2g | 290 | manualname=rockbox-ipodmini2g |
312 | brand=Apple | 291 | brand=Apple |
313 | configure_modelname=ipodmini | 292 | configure_modelname=ipodmini |
314 | targetid=18 | ||
315 | encoder=rbspeex | 293 | encoder=rbspeex |
316 | 294 | ||
317 | [ipodmini2g] | 295 | [ipodmini2g] |
@@ -322,7 +300,6 @@ bootloadername=/ipod/bootloader-ipodmini2g.ipod | |||
322 | manualname=rockbox-ipodmini2g | 300 | manualname=rockbox-ipodmini2g |
323 | brand=Apple | 301 | brand=Apple |
324 | configure_modelname=ipodmini2g | 302 | configure_modelname=ipodmini2g |
325 | targetid=21 | ||
326 | encoder=rbspeex | 303 | encoder=rbspeex |
327 | 304 | ||
328 | [iaudiox5] | 305 | [iaudiox5] |
@@ -335,7 +312,6 @@ manualname= | |||
335 | brand=Cowon | 312 | brand=Cowon |
336 | usbid=0x0e210510, 0x0e210513 | 313 | usbid=0x0e210510, 0x0e210513 |
337 | configure_modelname=x5 | 314 | configure_modelname=x5 |
338 | targetid=12 | ||
339 | encoder=rbspeex | 315 | encoder=rbspeex |
340 | 316 | ||
341 | [iaudiox5v] | 317 | [iaudiox5v] |
@@ -347,7 +323,6 @@ bootloaderfile=/FIRMWARE/x5v_fw.bin | |||
347 | manualname= | 323 | manualname= |
348 | brand=Cowon | 324 | brand=Cowon |
349 | configure_modelname=x5 | 325 | configure_modelname=x5 |
350 | targetid=12 | ||
351 | encoder=rbspeex | 326 | encoder=rbspeex |
352 | 327 | ||
353 | [iaudiom5] | 328 | [iaudiom5] |
@@ -360,7 +335,6 @@ manualname= | |||
360 | brand=Cowon | 335 | brand=Cowon |
361 | usbid=0x0e210520 | 336 | usbid=0x0e210520 |
362 | configure_modelname=m5 | 337 | configure_modelname=m5 |
363 | targetid=28 | ||
364 | encoder=rbspeex | 338 | encoder=rbspeex |
365 | 339 | ||
366 | [iaudiom3] | 340 | [iaudiom3] |
@@ -373,7 +347,6 @@ manualname= | |||
373 | brand=Cowon | 347 | brand=Cowon |
374 | usbid=0x0e210500 | 348 | usbid=0x0e210500 |
375 | configure_modelname=m3 | 349 | configure_modelname=m3 |
376 | targetid=37 | ||
377 | encoder=rbspeex | 350 | encoder=rbspeex |
378 | 351 | ||
379 | [gigabeatf] | 352 | [gigabeatf] |
@@ -386,7 +359,6 @@ manualname= | |||
386 | brand=Toshiba | 359 | brand=Toshiba |
387 | usbid=0x09300009 | 360 | usbid=0x09300009 |
388 | configure_modelname=gigabeatf | 361 | configure_modelname=gigabeatf |
389 | targetid=20 | ||
390 | encoder=rbspeex | 362 | encoder=rbspeex |
391 | 363 | ||
392 | [sansae200] | 364 | [sansae200] |
@@ -399,7 +371,6 @@ brand=Sandisk | |||
399 | usbid=0x07817421 | 371 | usbid=0x07817421 |
400 | usberror=0x07810720 | 372 | usberror=0x07810720 |
401 | configure_modelname=e200 | 373 | configure_modelname=e200 |
402 | targetid=23 | ||
403 | encoder=rbspeex | 374 | encoder=rbspeex |
404 | 375 | ||
405 | [sansac200] | 376 | [sansac200] |
@@ -411,7 +382,6 @@ manualname= | |||
411 | brand=Sandisk | 382 | brand=Sandisk |
412 | usbid=0x07817450, 0x07817451 | 383 | usbid=0x07817450, 0x07817451 |
413 | configure_modelname=c200 | 384 | configure_modelname=c200 |
414 | targetid=30 | ||
415 | encoder=rbspeex | 385 | encoder=rbspeex |
416 | 386 | ||
417 | [sansae200v2] | 387 | [sansae200v2] |
@@ -425,7 +395,6 @@ brand=Sandisk | |||
425 | usbid=0x07817423 | 395 | usbid=0x07817423 |
426 | usberror=0x07817422 | 396 | usberror=0x07817422 |
427 | configure_modelname=e200v2 | 397 | configure_modelname=e200v2 |
428 | targetid=51 | ||
429 | encoder=rbspeex | 398 | encoder=rbspeex |
430 | 399 | ||
431 | [sansafuze] | 400 | [sansafuze] |
@@ -439,7 +408,6 @@ brand=Sandisk | |||
439 | usbid=0x078174c1 | 408 | usbid=0x078174c1 |
440 | usberror=0x078174c0 | 409 | usberror=0x078174c0 |
441 | configure_modelname=fuze | 410 | configure_modelname=fuze |
442 | targetid=53 | ||
443 | encoder=rbspeex | 411 | encoder=rbspeex |
444 | 412 | ||
445 | [sansam200v4] | 413 | [sansam200v4] |
@@ -453,7 +421,6 @@ brand=Sandisk | |||
453 | usbid= | 421 | usbid= |
454 | usberror= | 422 | usberror= |
455 | configure_modelname=m200v4 | 423 | configure_modelname=m200v4 |
456 | targetid=52 | ||
457 | encoder=rbspeex | 424 | encoder=rbspeex |
458 | 425 | ||
459 | [sansaclip] | 426 | [sansaclip] |
@@ -467,7 +434,6 @@ brand=Sandisk | |||
467 | usbid=0x07817433 | 434 | usbid=0x07817433 |
468 | usberror=0x07817432 | 435 | usberror=0x07817432 |
469 | configure_modelname=clip | 436 | configure_modelname=clip |
470 | targetid=50 | ||
471 | encoder=rbspeex | 437 | encoder=rbspeex |
472 | 438 | ||
473 | 439 | ||
@@ -481,7 +447,6 @@ manualname= | |||
481 | brand=Olympus | 447 | brand=Olympus |
482 | usbid=0x07b40280 | 448 | usbid=0x07b40280 |
483 | configure_modelname=mrobe100 | 449 | configure_modelname=mrobe100 |
484 | targetid=33 | ||
485 | encoder=rbspeex | 450 | encoder=rbspeex |
486 | 451 | ||
487 | [ondavx747] | 452 | [ondavx747] |
@@ -533,7 +498,6 @@ manualname= | |||
533 | brand=Samsung | 498 | brand=Samsung |
534 | usbid=0x04e85023 | 499 | usbid=0x04e85023 |
535 | configure_modelname=yh820 | 500 | configure_modelname=yh820 |
536 | targetid=57 | ||
537 | encoder=rbspeex | 501 | encoder=rbspeex |
538 | 502 | ||
539 | [smsgyh920] | 503 | [smsgyh920] |
@@ -546,7 +510,6 @@ manualname= | |||
546 | brand=Samsung | 510 | brand=Samsung |
547 | usbid=0x04e85022, 0x04e8501d | 511 | usbid=0x04e85022, 0x04e8501d |
548 | configure_modelname=yh920 | 512 | configure_modelname=yh920 |
549 | targetid=58 | ||
550 | encoder=rbspeex | 513 | encoder=rbspeex |
551 | 514 | ||
552 | [smsgyh925] | 515 | [smsgyh925] |
@@ -559,7 +522,6 @@ manualname= | |||
559 | brand=Samsung | 522 | brand=Samsung |
560 | usbid=0x04e85024 | 523 | usbid=0x04e85024 |
561 | configure_modelname=yh925 | 524 | configure_modelname=yh925 |
562 | targetid=59 | ||
563 | encoder=rbspeex | 525 | encoder=rbspeex |
564 | 526 | ||
565 | [05ac1260] | 527 | [05ac1260] |