43 lines
819 B
C++
43 lines
819 B
C++
/*
|
|||
* Copyright 2001-2007, Haiku Inc.
|
|||
* Distributed under the terms of the MIT License.
|
|||
|
|
*
|
||
|
|
* Authors:
|
||
|
|
* Marc Flerackers ([email protected])
|
||
* Stefano Ceccherini ([email protected])
|
|||
* Marcus Overhagen ([email protected])
|
|||
*/
|
|||
|
|
|
||
/** PicturePlayer is used to play picture data. */
|
|||
|
|||
#ifndef _PICTUREPLAYER_H
|
|||
|
|
#define _PICTUREPLAYER_H
|
||
|
|||
|
|
|
||
|
|
#include <GraphicsDefs.h>
|
||
|
|
#include <Point.h>
|
||
|
|
#include <Rect.h>
|
||
|
|
#include <DataIO.h>
|
||
|
|
|
||
|
|
|
||
namespace BPrivate {
|
|||
|
|
|
||
class PicturePlayer {
|
|||
public:
|
|||
PicturePlayer();
|
|||
PicturePlayer(const void *data, size_t size, BList *pictures);
|
|||
virtual ~PicturePlayer();
|
|||
|
|||
|
|
status_t Play(void **callBackTable, int32 tableEntries,
|
||
|
|
void *userData);
|
||
|
|
|
||
|
|
private:
|
||
const void *fData;
|
|||
|
|
size_t fSize;
|
||
BList *fPictures;
|
|||
|
|
};
|
||
|
|
|
||
}; // namespace BPrivate
|
|||
|
|
|
||
|
|
#endif // _PICTUREPLAYER_H
|