20 #ifndef MPD_COMMAND_LIST_BUILDER_HXX
21 #define MPD_COMMAND_LIST_BUILDER_HXX
52 std::list<std::string> list;
98 bool Add(
const char *cmd);
106 return std::move(list);
bool IsOKMode() const
Is the object in "list_OK" mode?
std::list< std::string > && Commit()
Finishes the list and returns it.
void Begin(bool ok)
Begin building a command list.
bool Add(const char *cmd)
Enabled in normal list mode.
Enabled in "list_OK" mode.
bool IsActive() const
Is a command list currently being built?
void Reset()
Reset the object: delete the list and clear the mode.
The database is disabled, i.e.