xoreos  0.0.5
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Video::Aurora::VideoPlayer Class Reference

A video player. More...

#include <videoplayer.h>

Collaboration diagram for Video::Aurora::VideoPlayer:
Collaboration graph
[legend]

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
 

Detailed Description

A video player.

Definition at line 41 of file videoplayer.h.

Constructor & Destructor Documentation

◆ VideoPlayer()

Video::Aurora::VideoPlayer::VideoPlayer ( const Common::UString video)

Definition at line 50 of file videoplayer.cpp.

References load().

Here is the call graph for this function:

◆ ~VideoPlayer()

Video::Aurora::VideoPlayer::~VideoPlayer ( )

Definition at line 54 of file videoplayer.cpp.

Member Function Documentation

◆ load()

void Video::Aurora::VideoPlayer::load ( const Common::UString name)
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ play()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _video

Common::ScopedPtr<VideoDecoder> Video::Aurora::VideoPlayer::_video
private

Definition at line 49 of file videoplayer.h.

Referenced by load(), and play().


The documentation for this class was generated from the following files: