HaikuDepot: notify work status from main window
[haiku.git] / src / apps / haiku3d / texture / VideoFileTexture.h
blob7aabaeeac6d99cfe5e73e69b2ffc99bfe70658d8
1 /*
2 * Copyright 2009, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Alexandre Deckner <alex@zappotek.com>
7 */
8 #ifndef _VIDEO_FILE_TEXTURE_H
9 #define _VIDEO_FILE_TEXTURE_H
11 #include "Texture.h"
14 class BMediaFile;
15 class BMediaTrack;
16 class BBitmap;
19 class VideoFileTexture : public Texture {
20 public:
21 VideoFileTexture(const char* fileName);
22 virtual ~VideoFileTexture();
24 virtual void Update(float dt);
25 protected:
26 void _Load(const char* fileName);
28 BMediaFile* fMediaFile;
29 BMediaTrack* fVideoTrack;
30 BBitmap* fVideoBitmap;
33 #endif /* _VIDEO_TEXTURE_H */