xref: /haiku/headers/private/interface/PicturePlayer.h (revision b2537f99cdffc40818b65879120ecae67b29d7d9)
1 /*
2  * Copyright 2001-2007, Haiku Inc.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Marc Flerackers (mflerackers@androme.be)
7  *		Stefano Ceccherini (stefano.ceccherini@gmail.com)
8  *		Marcus Overhagen (marcus@overhagen.de)
9  */
10 
11 /**	PicturePlayer is used to play picture data. */
12 
13 #ifndef	_PICTUREPLAYER_H
14 #define	_PICTUREPLAYER_H
15 
16 
17 #include <GraphicsDefs.h>
18 #include <Point.h>
19 #include <Rect.h>
20 #include <DataIO.h>
21 
22 
23 namespace BPrivate {
24 
25 class PicturePlayer {
26 public:
27 					PicturePlayer();
28 					PicturePlayer(const void *data, size_t size, BList *pictures);
29 virtual				~PicturePlayer();
30 
31 		status_t	Play(void **callBackTable, int32 tableEntries,
32 						void *userData);
33 
34 private:
35 		const void *fData;
36 		size_t		fSize;
37 		BList		*fPictures;
38 };
39 
40 }; // namespace BPrivate
41 
42 #endif // _PICTUREPLAYER_H
43