X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fasset.cpp;h=9284f97107f9e19a2eacfb121ddcd43c0c09e3b3;hp=a5ce1756a0273faad1f8ebeccfa262211bea27c9;hb=03862ac4f38db0799872850dc4ab43b88688e4eb;hpb=bda95f684da98079f4b1fe705d969bacb6d86e12 diff --git a/source/io/asset.cpp b/source/io/asset.cpp index a5ce175..9284f97 100644 --- a/source/io/asset.cpp +++ b/source/io/asset.cpp @@ -1,12 +1,29 @@ #include "asset.h" +using namespace std; + namespace Msp { namespace IO { -unsigned Asset::do_write(const char *, unsigned) +void Asset::set_block(bool) +{ + throw logic_error("Asset::set_block"); +} + +void Asset::set_inherit(bool) +{ + throw logic_error("Asset::set_inherit"); +} + +size_t Asset::do_write(const char *, size_t) { throw invalid_access(M_WRITE); } +const Handle &Asset::get_handle(Mode) +{ + throw logic_error("Asset::get_handle"); +} + } // namespace IO } // namespace Msp