xoreos
0.0.5
|
A video player. More...
#include <videoplayer.h>
Public Member Functions | |
VideoPlayer (const Common::UString &video) | |
~VideoPlayer () | |
void | play () |
Private Member Functions | |
void | load (const Common::UString &name) |
Private Attributes | |
Common::ScopedPtr< VideoDecoder > | _video |
A video player.
Definition at line 41 of file videoplayer.h.
Video::Aurora::VideoPlayer::VideoPlayer | ( | const Common::UString & | video | ) |
Definition at line 50 of file videoplayer.cpp.
References load().
Video::Aurora::VideoPlayer::~VideoPlayer | ( | ) |
Definition at line 54 of file videoplayer.cpp.
|
private |
Definition at line 57 of file videoplayer.cpp.
References _video, Common::UString::c_str(), Aurora::kFileTypeBIK, Aurora::kFileTypeMOV, Aurora::kFileTypeVX, Aurora::kFileTypeXMV, Aurora::kResourceVideo, Video::VideoDecoder::kScaleUpDown, and ResMan.
Referenced by VideoPlayer().
void Video::Aurora::VideoPlayer::play | ( | ) |
Definition at line 89 of file videoplayer.cpp.
References _video, debugC(), EventMan, Common::kDebugVideo, Events::kEventKeyDown, Events::kEventMouseUp, and RequestMan.
Referenced by Engines::playVideo().
|
private |
Definition at line 49 of file videoplayer.h.