diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2007-02-07 04:24:21 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2007-02-07 04:24:21 +0000 |
| commit | eed62f1657f4f2b08571f0bd2b1827f3a71dac87 (patch) | |
| tree | 1023d721c59e29150f445bbba25a0e11bed4c1ae /apps/settings.h | |
| parent | ff3bb3aa18e71860d644a50632088ec282968de4 (diff) | |
| download | rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.zip rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.tar.gz rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.tar.bz2 rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.tar.xz | |
Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
| -rw-r--r-- | apps/settings.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 7321d39..379084b 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -263,8 +263,17 @@ struct system_status #ifdef CONFIG_TUNER int last_frequency; /* Last frequency for resuming, in FREQ_STEP units, relative to MIN_FREQ */ + bool in_radio_screen; /* Currently in radio screen? + Set by radio_screen. */ + int radio_status; /* Current radio status (off, playing, paused) + Set by radio control functions. */ +#endif +#ifdef HAVE_RECORDING + bool in_recording_screen; /* Currently in recording screen? + Set by recording_screen. */ #endif }; + struct user_settings { /* audio settings */ |