Make mb::File an abstract class. It no longer does any type of state
management. Counterintuitively, this actually makes the subclasses
easier to implement. More than half of mb::File-related code has been
cut out due to this change.
This also drops the mb::CallbackFile class since it's easy enough to
subclass mb::File.
Make mb::File an abstract class. It no longer does any type of state management. Counterintuitively, this actually makes the subclasses easier to implement. More than half of mb::File-related code has been cut out due to this change.
This also drops the mb::CallbackFile class since it's easy enough to subclass mb::File.
Signed-off-by: Andrew Gunnerson andrewgunnerson@gmail.com