autodetection: convert path to native separators before displaying it.
[Rockbox.git] / apps / playlist_catalog.h
blobadf757c398d0a45c8f9bab6adf4450d4c952161b
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2006 Sebastian Henriksen, Hardeep Sidhu
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.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef _PLAYLIST_CATALOG_H_
20 #define _PLAYLIST_CATALOG_H_
22 /*
23 * View list of playlists in catalog.
24 * ret : true if no error
26 bool catalog_view_playlists(void);
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 * m3u8name : filename to save the playlist to, NULL to show the keyboard
36 * ret : true if the file was successfully added
38 bool catalog_add_to_a_playlist(const char* sel, int sel_attr,
39 bool new_playlist, char* m3u8name);
41 #endif