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 #ifndef _PICTURE_PLAYER_H 11 #define _PICTURE_PLAYER_H 12 13 /*! PicturePlayer is used to play picture data. */ 14 15 16 #include <GraphicsDefs.h> 17 #include <Point.h> 18 #include <Rect.h> 19 #include <DataIO.h> 20 21 class BList; 22 23 24 namespace BPrivate { 25 26 class PicturePlayer { 27 public: 28 PicturePlayer(); 29 PicturePlayer(const void *data, size_t size, BList *pictures); 30 virtual ~PicturePlayer(); 31 32 status_t Play(void **callBackTable, int32 tableEntries, 33 void *userData); 34 35 private: 36 const void* fData; 37 size_t fSize; 38 BList* fPictures; 39 }; 40 41 } // namespace BPrivate 42 43 #endif // _PICTURE_PLAYER_H 44