Theora Playback Library
1.0.0
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
theoraplayer
include
theoraplayer
TheoraTimer.h
Go to the documentation of this file.
1
/************************************************************************************
2
This source file is part of the Theora Video Playback Library
3
For latest info, see http://libtheoraplayer.sourceforge.net/
4
*************************************************************************************
5
Copyright (c) 2008-2013 Kresimir Spes (kspes@cateia.com)
6
This program is free software; you can redistribute it and/or modify it under
7
the terms of the BSD license: http://www.opensource.org/licenses/bsd-license.php
8
*************************************************************************************/
9
10
#ifndef _TheoraTimer_h
11
#define _TheoraTimer_h
12
13
#include "
TheoraExport.h
"
14
21
class
TheoraPlayerExport
TheoraTimer
22
{
23
protected
:
25
float
mTime
,mSpeed;
27
bool
mPaused
;
28
public
:
29
TheoraTimer
();
30
virtual
~
TheoraTimer
();
31
32
virtual
float
getTime();
41
virtual
void
update(
float
time_increase);
42
43
virtual
void
pause();
44
virtual
void
play();
45
virtual
bool
isPaused();
46
virtual
void
stop();
56
virtual
void
setSpeed(
float
speed);
58
virtual
float
getSpeed();
59
66
virtual
void
seek(
float
time);
67
};
68
#endif
69
Generated by
1.8.3.1