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