]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/image.h
Replace Image::load_memory with load_io
[libs/gui.git] / source / graphics / image.h
index bc7151b1250ba1dee336439350589027b6540363..137f856f21f5736d40dbecae6275a26919c42536 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <stdexcept>
 #include <string>
+#include <msp/io/base.h>
 #include "pixelformat.h"
 
 namespace Msp {
@@ -36,7 +37,7 @@ public:
        ~Image();
 
        void load_file(const std::string &);
-       void load_memory(const void *, unsigned);
+       void load_io(IO::Base &);
        PixelFormat get_format() const;
        unsigned get_width() const;
        unsigned get_height() const;