MPD
0.20.18
|
#include <CommandListBuilder.hxx>
Public Member Functions | |
CommandListBuilder () | |
bool | IsActive () const |
Is a command list currently being built? More... | |
bool | IsOKMode () const |
Is the object in "list_OK" mode? More... | |
void | Reset () |
Reset the object: delete the list and clear the mode. More... | |
void | Begin (bool ok) |
Begin building a command list. More... | |
bool | Add (const char *cmd) |
std::list< std::string > && | Commit () |
Finishes the list and returns it. More... | |
Definition at line 28 of file CommandListBuilder.hxx.
|
inline |
Definition at line 60 of file CommandListBuilder.hxx.
bool CommandListBuilder::Add | ( | const char * | cmd | ) |
|
inline |
Begin building a command list.
Definition at line 87 of file CommandListBuilder.hxx.
|
inline |
Finishes the list and returns it.
Definition at line 103 of file CommandListBuilder.hxx.
|
inline |
Is a command list currently being built?
Definition at line 66 of file CommandListBuilder.hxx.
|
inline |
Is the object in "list_OK" mode?
Definition at line 73 of file CommandListBuilder.hxx.
void CommandListBuilder::Reset | ( | ) |
Reset the object: delete the list and clear the mode.