Files
haiku-beta6/headers/private/interface/PicturePlayer.h
T

43 lines
819 B
C++
Raw Normal View History

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