Mercurial > mm7
view MediaPlayer.h @ 2339:63e1388c5463
Moving functions from unsorted_subs.h pt3
author | Grumpy7 |
---|---|
date | Sun, 06 Apr 2014 12:37:28 +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); }; };