1/*
2 * Copyright 2009, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 * 		Alexandre Deckner <alex@zappotek.com>
7 */
8#ifndef _VIDEO_FILE_TEXTURE_H
9#define _VIDEO_FILE_TEXTURE_H
10
11#include "Texture.h"
12
13
14class BMediaFile;
15class BMediaTrack;
16class BBitmap;
17
18
19class VideoFileTexture : public Texture {
20public:
21						VideoFileTexture(const char* fileName);
22		virtual			~VideoFileTexture();
23
24		virtual	void	Update(float dt);
25protected:
26		void			_Load(const char* fileName);
27
28		BMediaFile*		fMediaFile;
29		BMediaTrack*	fVideoTrack;
30		BBitmap*		fVideoBitmap;
31};
32
33#endif /* _VIDEO_TEXTURE_H */
34