X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fseekable.h;h=f0170b40f5af126de2c641431d7a2033cc1f1415;hp=1fc3f89ed58576fd73c1b68527b51f80133c1f1d;hb=1a6331551a025ddcc1772ae447c326ec70e0e107;hpb=7264384ae4dc1adaf861750516030826a8c91645 diff --git a/source/io/seekable.h b/source/io/seekable.h index 1fc3f89..f0170b4 100644 --- a/source/io/seekable.h +++ b/source/io/seekable.h @@ -1,6 +1,7 @@ #ifndef MSP_IO_SEEKABLE_H_ #define MSP_IO_SEEKABLE_H_ +#include #include #include "base.h" @@ -19,6 +20,14 @@ enum SeekType }; +class bad_seek: public std::runtime_error +{ +public: + bad_seek(SeekOffset, SeekType); + virtual ~bad_seek() throw() { } +}; + + class Seekable: public Base { protected: