MPD
0.20.15
|
#include <Editor.hxx>
Public Member Functions | |
DatabaseEditor (EventLoop &_loop, DatabaseListener &_listener) | |
void | DeleteSong (Directory &parent, Song *song) |
Caller must lock the db_mutex. More... | |
void | LockDeleteSong (Directory &parent, Song *song) |
DeleteSong() with automatic locking. More... | |
void | DeleteDirectory (Directory *directory) |
Recursively free a directory and all its contents. More... | |
void | LockDeleteDirectory (Directory *directory) |
DeleteDirectory() with automatic locking. More... | |
bool | DeleteNameIn (Directory &parent, const char *name) |
Caller must NOT lock the db_mutex. More... | |
Definition at line 30 of file Editor.hxx.
|
inline |
Definition at line 34 of file Editor.hxx.
void DatabaseEditor::DeleteDirectory | ( | Directory * | directory | ) |
Recursively free a directory and all its contents.
Caller must lock the db_mutex.
bool DatabaseEditor::DeleteNameIn | ( | Directory & | parent, |
const char * | name | ||
) |
Caller must NOT lock the db_mutex.
void DatabaseEditor::LockDeleteDirectory | ( | Directory * | directory | ) |
DeleteDirectory() with automatic locking.
DeleteSong() with automatic locking.