ginga 1.0
The Ginga iTV middleware
|
Public Member Functions | |
PlayerRemote (Formatter *, Media *) | |
Creates PlayerRemote. | |
void | start () |
void | startPreparation () |
void | stop () |
void | pause () |
void | resume () |
void | reload () |
void | redraw (cairo_t *) |
void | sendPresentationEvent (const string &, const string &) |
![]() | |
Player (Formatter *, Media *) | |
State | getState () |
void | getZ (int *, int *) |
bool | isFocused () |
Time | getTime () |
void | incTime (Time) |
Time | getDuration () |
void | setDuration (Time) |
bool | getEOS () |
void | setEOS (bool) |
virtual string | getProperty (const string &) |
virtual void | setProperty (const string &, const string &) |
void | resetProperties () |
void | resetProperties (set< string > *) |
void | schedulePropertyAnimation (const string &, const string &, const string &, Time) |
virtual void | sendKeyEvent (const string &, bool) |
Static Public Member Functions | |
static bool | usesPlayerRemote (Media *) |
Evaluates if Media uses PlayerRemote. | |
![]() | |
static string | getCurrentFocus () |
static void | setCurrentFocus (const string &) |
static Property | getPlayerProperty (const string &, string *) |
static bool | getMimeForURI (const string &, string *) |
static Player * | createPlayer (Formatter *, Media *, const string &, const string &type="") |
Protected Member Functions | |
void | sendAction (const string &, const string &) |
![]() | |
virtual bool | doSetProperty (Property, const string &, const string &) |
Protected Attributes | ||
bool | _sessionStarted | |
WebServices * | _ws | |
SoupSession * | _session | |
![]() | ||
Formatter * | _formatter | |
Media * | _media | |
string | _id | |
State | _state | |
Time | _time | |
bool | _eos | |
cairo_surface_t * | _surface | |
bool | _opengl | |
guint | _gltexture | |
bool | _dirty | |
PlayerAnimator * | _animator | |
list< int > | _crop | |
map< string, string > | _properties | |
struct { | ||
Color bgColor | ||
Rect rect | ||
Time duration | ||
bool debug | ||
bool visible | ||
guint8 alpha | ||
int zindex | ||
int zorder | ||
string focusIndex | ||
Color focusBorderColor | ||
int focusBorderWidth | ||
guint8 focusBorderTransparency | ||
Color selBorderColor | ||
string type | ||
string uri | ||
} | _prop | |
Additional Inherited Members | |
![]() | |
enum | State { SLEEPING = 1 , OCCURRING , PAUSED } |
enum | Property { PROP_UNKNOWN = 0 , PROP_BACKGROUND , PROP_BALANCE , PROP_BASS , PROP_BOTTOM , PROP_BOUNDS , PROP_DEBUG , PROP_DURATION , PROP_EXPLICIT_DUR , PROP_FOCUS_INDEX , PROP_FOCUS_BORDER_COLOR , PROP_FOCUS_BORDER_WIDTH , PROP_FOCUS_BORDER_TRANSPARENCY , PROP_SEL_BORDER_COLOR , PROP_FONT_BG_COLOR , PROP_FONT_COLOR , PROP_FONT_FAMILY , PROP_FONT_SIZE , PROP_FONT_STYLE , PROP_FONT_VARIANT , PROP_FONT_WEIGHT , PROP_FREEZE , PROP_FREQ , PROP_HEIGHT , PROP_HORZ_ALIGN , PROP_LEFT , PROP_LOCATION , PROP_MUTE , PROP_RIGHT , PROP_SIZE , PROP_SPEED , PROP_TIME , PROP_TOP , PROP_TRANSPARENCY , PROP_TREBLE , PROP_TYPE , PROP_URI , PROP_VERT_ALIGN , PROP_VISIBLE , PROP_VOLUME , PROP_WAVE , PROP_WIDTH , PROP_Z_INDEX , PROP_Z_ORDER , PROP_REMOTE_PLAYER_BASE_URL } |
Creates PlayerRemote.
|
virtual |
Reimplemented from ginga::Player.
|
virtual |
Reimplemented from ginga::Player.
|
virtual |
Reimplemented from ginga::Player.
|
virtual |
Reimplemented from ginga::Player.
|
virtual |
Reimplemented from ginga::Player.
|
virtual |
Reimplemented from ginga::Player.
|
virtual |
Reimplemented from ginga::Player.