Prepare new maemo release
[maemo-rb.git] / apps / radio / presets.h
blob7640bdfb1531b8b1a78d86a8bba852408d65330b
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2010 Bertrik Sikken
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 int handle_radio_presets(void);
23 int handle_radio_add_preset(void);
25 int presets_scan(void *viewports);
26 bool presets_have_changed(void);
27 void presets_save(void);
29 int preset_list_load(void);
30 int preset_list_save(void); // prompts for name of preset file and saves
31 int preset_list_clear(void);
33 void preset_next(int direction);
34 void preset_set_current(int preset);
35 int preset_find(int freq);
36 void preset_talk(int preset, bool fallback, bool enqueue);