20 #ifndef MPD_CUE_PARSER_HXX 21 #define MPD_CUE_PARSER_HXX 76 std::unique_ptr<DetachedSong> current;
82 std::unique_ptr<DetachedSong> previous;
88 std::unique_ptr<DetachedSong> finished;
101 void Feed(
const char *line) noexcept;
117 std::unique_ptr<DetachedSong>
Get() noexcept;
128 void Commit() noexcept;
130 void Feed2(
char *p) noexcept;
void Finish() noexcept
Tell the parser that the end of the file has been reached.
A class that constructs Tag objects.
void Feed(const char *line) noexcept
Feed a text line from the CUE file into the parser.
std::unique_ptr< DetachedSong > Get() noexcept
Check if a song was finished by the last Feed() or Finish() call.