mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- record: move TSHIFT defines into enumeration
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -52,11 +52,6 @@ extern "C" {
|
||||
#define RECORD_MAX_COUNT 8
|
||||
#endif
|
||||
|
||||
#define TSHIFT_MODE_OFF 0
|
||||
#define TSHIFT_MODE_ON 1
|
||||
#define TSHIFT_MODE_PAUSE 2
|
||||
#define TSHIFT_MODE_REWIND 3
|
||||
|
||||
class CFrontend;
|
||||
class CZapitChannel;
|
||||
|
||||
|
@@ -88,6 +88,14 @@ class CMoviePlayerGui : public CMenuTarget
|
||||
|
||||
enum repeat_mode_enum { REPEAT_OFF = 0, REPEAT_TRACK = 1, REPEAT_ALL = 2 };
|
||||
|
||||
enum tshift_mode
|
||||
{
|
||||
TSHIFT_MODE_OFF = 0,
|
||||
TSHIFT_MODE_ON = 1,
|
||||
TSHIFT_MODE_PAUSE = 2,
|
||||
TSHIFT_MODE_REWIND = 3
|
||||
};
|
||||
|
||||
private:
|
||||
typedef struct livestream_info_t
|
||||
{
|
||||
@@ -249,7 +257,7 @@ class CMoviePlayerGui : public CMenuTarget
|
||||
int GetDuration() { return duration; }
|
||||
int getState() { return playstate; }
|
||||
void UpdatePosition();
|
||||
int timeshift;
|
||||
tshift_mode timeshift;
|
||||
void deleteTimeshift() { timeshift_deletion = true; }
|
||||
int file_prozent;
|
||||
cPlayback *getPlayback() { return playback; }
|
||||
|
Reference in New Issue
Block a user