20 #ifndef MPD_UPDATE_DATABASE_HXX
21 #define MPD_UPDATE_DATABASE_HXX
35 :remove(_loop, _listener) {}
67 void ClearDirectory(
Directory &directory);
void DeleteSong(Directory &parent, Song *song)
Caller must lock the db_mutex.
An event loop that polls for events on file/socket descriptors.
An object that listens to events from the Database.
DatabaseEditor(EventLoop &_loop, DatabaseListener &_listener)
void LockDeleteSong(Directory &parent, Song *song)
DeleteSong() with automatic locking.
A song file inside the configured music directory.
void DeleteDirectory(Directory *directory)
Recursively free a directory and all its contents.
void LockDeleteDirectory(Directory *directory)
DeleteDirectory() with automatic locking.
This class handles Song removal.
const Partition const char * name
bool DeleteNameIn(Directory &parent, const char *name)
Caller must NOT lock the db_mutex.