diff options
Diffstat (limited to '')
-rw-r--r-- | src/db/update/Editor.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/db/update/Editor.hxx b/src/db/update/Editor.hxx index a9093d662..b1c99095f 100644 --- a/src/db/update/Editor.hxx +++ b/src/db/update/Editor.hxx @@ -40,6 +40,11 @@ public: void DeleteSong(Directory &parent, Song *song); /** + * DeleteSong() with automatic locking. + */ + void LockDeleteSong(Directory &parent, Song *song); + + /** * Recursively free a directory and all its contents. * * Caller must lock the #db_mutex. @@ -47,6 +52,11 @@ public: void DeleteDirectory(Directory *directory); /** + * DeleteDirectory() with automatic locking. + */ + void LockDeleteDirectory(Directory *directory); + + /** * Caller must NOT lock the #db_mutex. * * @return true if the database was modified |