20 #ifndef MPD_UPDATE_QUEUE_HXX
21 #define MPD_UPDATE_QUEUE_HXX
44 const char *_path,
bool _discard,
46 :db(&_db), storage(&_storage), path_utf8(_path),
47 id(_id), discard(_discard) {}
55 static constexpr
unsigned MAX_UPDATE_QUEUE_SIZE = 32;
57 std::list<UpdateQueueItem> update_queue;
62 const char *path,
bool discard,
unsigned id);
gcc_nonnull_all bool Push(SimpleDatabase &db, Storage &storage, const char *path, bool discard, unsigned id)
gcc_nonnull_all void Erase(SimpleDatabase &db)
UpdateQueueItem(SimpleDatabase &_db, Storage &_storage, const char *_path, bool _discard, unsigned _id)