summaryrefslogtreecommitdiff
path: root/src/lib/image.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-15 23:19:27 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-15 23:19:27 +0100
commite946a66554185459043af2a8bdae575e255c743d (patch)
tree42d7ee7da6f6646f91b5429ed20fe84db92387d8 /src/lib/image.h
parent43990add893eccf350f280e2dd3f947a94f3e9aa (diff)
Unholy melange of stuff; setup a standard test config; send / receive subs to / from servers; various other image stride-related fixes.
Diffstat (limited to 'src/lib/image.h')
-rw-r--r--src/lib/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/image.h b/src/lib/image.h
index 30c8519e7..6c3c9109e 100644
--- a/src/lib/image.h
+++ b/src/lib/image.h
@@ -75,6 +75,9 @@ public:
void alpha_blend (boost::shared_ptr<Image> image, Position pos);
void make_black ();
+
+ void read_from_socket (boost::shared_ptr<Socket>);
+ void write_to_socket (boost::shared_ptr<Socket>) const;
PixelFormat pixel_format () const {
return _pixel_format;