Mercurial > mm7
view MediaPlayer.h @ 2337:d04017f3d2fa
LightsStack_StationaryLight_::AddLight moved to LightStack.cpp
author | Grumpy7 |
---|---|
date | Sat, 05 Apr 2014 20:14:15 +0200 |
parents | 58be29479e75 |
children | 182effc4b0ee |
line wrap: on
line source
#pragma once namespace Media { class ITrack { public: virtual void Play(bool loop = false) = 0; }; class IMovie { public: virtual void Play() = 0; virtual void GetNextFrame(double dt, void *target_surface) = 0; }; class Player { public: Player(); virtual ~Player(); ITrack *LoadTrack(const wchar_t *name); IMovie *LoadMovie(const wchar_t *name, int width, int height, int cache_ms); }; };