MPD
0.20.6
|
#include <PlaylistPlugin.hxx>
Data Fields | |
const char * | name |
bool(* | init )(const ConfigBlock &block) |
Initialize the plugin. More... | |
void(* | finish )() |
Deinitialize a plugin which was initialized successfully. More... | |
SongEnumerator *(* | open_uri )(const char *uri, Mutex &mutex, Cond &cond) |
Opens the playlist on the specified URI. More... | |
SongEnumerator *(* | open_stream )(InputStreamPtr &&is) |
Opens the playlist in the specified input stream. More... | |
const char *const * | schemes |
const char *const * | suffixes |
const char *const * | mime_types |
Definition at line 31 of file PlaylistPlugin.hxx.
void(* playlist_plugin::finish) () |
Deinitialize a plugin which was initialized successfully.
Optional method.
Definition at line 48 of file PlaylistPlugin.hxx.
bool(* playlist_plugin::init) (const ConfigBlock &block) |
Initialize the plugin.
Optional method.
block | a configuration block for this plugin, or nullptr if none is configured |
Definition at line 42 of file PlaylistPlugin.hxx.
const char* const* playlist_plugin::mime_types |
Definition at line 69 of file PlaylistPlugin.hxx.
const char* playlist_plugin::name |
Definition at line 32 of file PlaylistPlugin.hxx.
SongEnumerator*(* playlist_plugin::open_stream) (InputStreamPtr &&is) |
Opens the playlist in the specified input stream.
It has either matched one of the suffixes or one of the MIME types.
is the input stream; the pointer will not be invalidated when the function returns nullptr
Definition at line 65 of file PlaylistPlugin.hxx.
SongEnumerator*(* playlist_plugin::open_uri) (const char *uri, Mutex &mutex, Cond &cond) |
Opens the playlist on the specified URI.
This URI has either matched one of the schemes or one of the suffixes.
Definition at line 54 of file PlaylistPlugin.hxx.
const char* const* playlist_plugin::schemes |
Definition at line 67 of file PlaylistPlugin.hxx.
const char* const* playlist_plugin::suffixes |
Definition at line 68 of file PlaylistPlugin.hxx.