From eed62f1657f4f2b08571f0bd2b1827f3a71dac87 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 7 Feb 2007 04:24:21 +0000 Subject: 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 --- apps/settings.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/settings.h') diff --git a/apps/settings.h b/apps/settings.h index 7321d39cf5..379084b885 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 */ -- cgit v1.2.3