summaryrefslogtreecommitdiff
path: root/plugingui/image.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-05-03 14:38:52 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-05-03 14:38:52 +0200
commitee7304700b2f058864d6ef588531399eb9104ea9 (patch)
treea346d15138d07b403fcd13c794bd30b32e86a383 /plugingui/image.h
parentf07c7bb8707f3c07d98f8c7f5c4cb78a5b285b7b (diff)
PNG error handling, extreme
Diffstat (limited to 'plugingui/image.h')
-rw-r--r--plugingui/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/image.h b/plugingui/image.h
index 1df248f..0181ce8 100644
--- a/plugingui/image.h
+++ b/plugingui/image.h
@@ -47,6 +47,8 @@ public:
Colour getPixel(size_t x, size_t y);
private:
+ void setError(int err);
+
void load(const char* data, size_t size);
size_t w, h;