MPD
0.20.6
|
#include <vector>
#include <string>
Go to the source code of this file.
Typedefs | |
typedef std::vector< std::string > | PlaylistFileContents |
Functions | |
void | spl_global_init () |
Perform some global initialization, e.g. More... | |
bool | spl_valid_name (const char *name_utf8) |
Determines whether the specified string is a valid name for a stored playlist. More... | |
AllocatedPath | spl_map_to_fs (const char *name_utf8) |
PlaylistVector | ListPlaylistFiles () |
Returns a list of stored_playlist_info struct pointers. More... | |
PlaylistFileContents | LoadPlaylistFile (const char *utf8path) |
void | spl_move_index (const char *utf8path, unsigned src, unsigned dest) |
void | spl_clear (const char *utf8path) |
void | spl_delete (const char *name_utf8) |
void | spl_remove_index (const char *utf8path, unsigned pos) |
void | spl_append_song (const char *utf8path, const DetachedSong &song) |
void | spl_append_uri (const char *path_utf8, const SongLoader &loader, const char *uri_utf8) |
Throws #std::runtime_error on error. More... | |
void | spl_rename (const char *utf8from, const char *utf8to) |
Variables | |
bool | playlist_saveAbsolutePaths |
typedef std::vector<std::string> PlaylistFileContents |
Definition at line 29 of file PlaylistFile.hxx.
PlaylistVector ListPlaylistFiles | ( | ) |
Returns a list of stored_playlist_info struct pointers.
PlaylistFileContents LoadPlaylistFile | ( | const char * | utf8path | ) |
void spl_append_song | ( | const char * | utf8path, |
const DetachedSong & | song | ||
) |
void spl_append_uri | ( | const char * | path_utf8, |
const SongLoader & | loader, | ||
const char * | uri_utf8 | ||
) |
Throws #std::runtime_error on error.
void spl_clear | ( | const char * | utf8path | ) |
void spl_delete | ( | const char * | name_utf8 | ) |
void spl_global_init | ( | ) |
Perform some global initialization, e.g.
load configuration values.
AllocatedPath spl_map_to_fs | ( | const char * | name_utf8 | ) |
void spl_move_index | ( | const char * | utf8path, |
unsigned | src, | ||
unsigned | dest | ||
) |
void spl_remove_index | ( | const char * | utf8path, |
unsigned | pos | ||
) |
void spl_rename | ( | const char * | utf8from, |
const char * | utf8to | ||
) |
bool spl_valid_name | ( | const char * | name_utf8 | ) |
Determines whether the specified string is a valid name for a stored playlist.
bool playlist_saveAbsolutePaths |