Closed rr- closed 8 years ago
Option 2 has been ready for a while, it's called end_of_stream
and could benefit from a better name.
I think this is enough to implement all we'd ever need.
In that case, my proposition would be end_of_file
or end_of_streams
. Could you change the name?
Done. I added ITagsHandler::start_of_stream
too so that the lister is aware of the unknown streams.
There are a few ways to accomplish this:
ITagsHandler::start_of_file(const int stream_count)
ITagsHandler::end_of_file()
In any case, I'd like to avoid introducing any kind of state to
ITagsHandler
and letStreamTagsHandler
deal with state as a part of its implementation.