Mercurial > mm7
view MediaPlayer.h @ 2340:dc822157c98d
Moving functions from unsorted_subs.h pt4
author | Grumpy7 |
---|---|
date | Sun, 06 Apr 2014 12:50:35 +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); }; };