]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/image.h
Change the ImageLoader API to use IO::Seekable
[libs/gui.git] / source / graphics / image.h
index bfaeef84a00fbf7b945dbac8cc51d0fc593673bd..6905461a49557ed64df428902e538d85a9d271fc 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <stdexcept>
 #include <string>
-#include <msp/io/base.h>
+#include <msp/io/seekable.h>
 #include "pixelformat.h"
 
 namespace Msp {
@@ -30,7 +30,7 @@ private:
 
 public:
        void load_file(const std::string &);
-       void load_io(IO::Base &);
+       void load_io(IO::Seekable &);
        void load(ImageLoader &);
 
        PixelFormat get_format() const { return data.fmt; }