1 /* 2 * Copyright 2006, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan Aßmus <superstippi@gmx.de> 7 */ 8 9 #ifndef WONDERBRUSH_IMAGE_H 10 #define WONDERBRUSH_IMAGE_H 11 12 #include <Message.h> 13 14 class BBitmap; 15 class BPositionIO; 16 class Canvas; 17 18 class WonderBrushImage { 19 public: 20 WonderBrushImage(); 21 virtual ~WonderBrushImage(); 22 23 status_t SetTo(BPositionIO* stream); 24 BBitmap* Bitmap() const; 25 26 private: 27 BMessage fArchive; 28 }; 29 30 #endif // WONDERBRUSH_IMAGE_H 31 32