diff options
Diffstat (limited to 'apps/playlist_catalog.h')
-rw-r--r-- | apps/playlist_catalog.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/apps/playlist_catalog.h b/apps/playlist_catalog.h new file mode 100644 index 0000000000..591906e64f --- /dev/null +++ b/apps/playlist_catalog.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2006 Sebastian Henriksen, Hardeep Sidhu | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | #ifndef _PLAYLIST_CATALOG_H_ | ||
20 | #define _PLAYLIST_CATALOG_H_ | ||
21 | |||
22 | /* | ||
23 | * View list of playlists in catalog. | ||
24 | * ret : true if no error | ||
25 | */ | ||
26 | bool catalog_view_playlists(void); | ||
27 | |||
28 | /* | ||
29 | * Add something to a playlist (new or select from list of playlists in | ||
30 | * catalog). | ||
31 | * sel : the path of the music file, playlist or directory to add | ||
32 | * sel_attr : the attributes that tell what type of file we're adding | ||
33 | * new_playlist : whether we want to create a new playlist or add to an | ||
34 | * existing one. | ||
35 | * ret : true if the file was successfully added | ||
36 | */ | ||
37 | bool catalog_add_to_a_playlist(char* sel, int sel_attr, bool new_playlist); | ||
38 | |||
39 | #endif | ||