add global proxy / cache settings to httpget class. This removes the need of passing...
[Rockbox.git] / firmware / export / fmradio.h
blob87fcfd191cf4b976f588617593bb3e6fa03a2989
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 * Driver to control the (Samsung) tuner via port-banging SPI
11 * Copyright (C) 2002 by Linus Nielsen Feltzing
13 * All files in this archive are subject to the GNU General Public License.
14 * See the file COPYING in the source tree root for full license agreement.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
20 #ifndef FMRADIO_H
21 #define FMRADIO_H
23 /** declare some stuff here so powermgmt.c can properly tell if the radio is
24 actually playing and not just paused. This break in heirarchy is allowed
25 for audio_status(). **/
27 /* set when radio is playing or paused within fm radio screen */
28 #define FMRADIO_OFF 0x0
29 #define FMRADIO_PLAYING 0x1
30 #define FMRADIO_PAUSED 0x2
32 extern int get_radio_status(void);
34 extern int fmradio_read(int addr);
35 extern void fmradio_set(int addr, int data);
37 #endif