vdr  2.2.0
Static Public Member Functions | Static Private Attributes | List of all members
cRecordControls Class Reference

#include <menu.h>

Static Public Member Functions

static bool Start (cTimer *Timer=NULL, bool Pause=false)
 
static void Stop (const char *InstantId)
 
static bool PauseLiveVideo (void)
 
static const char * GetInstantId (const char *LastInstantId)
 
static cRecordControlGetRecordControl (const char *FileName)
 
static cRecordControlGetRecordControl (const cTimer *Timer)
 
static void Process (time_t t)
 
static void ChannelDataModified (cChannel *Channel)
 
static bool Active (void)
 
static void Shutdown (void)
 
static void ChangeState (void)
 
static bool StateChanged (int &State)
 

Static Private Attributes

static cRecordControlRecordControls [] = { NULL }
 
static int state = 0
 

Detailed Description

Definition at line 252 of file menu.h.

Member Function Documentation

§ Active()

bool cRecordControls::Active ( void  )
static

§ ChangeState()

static void cRecordControls::ChangeState ( void  )
inlinestatic

Definition at line 269 of file menu.h.

§ ChannelDataModified()

void cRecordControls::ChannelDataModified ( cChannel Channel)
static

Definition at line 5304 of file menu.c.

References isyslog, MAXRECORDCONTROLS, cChannel::Name(), and cChannel::Number().

Referenced by main().

§ GetInstantId()

const char * cRecordControls::GetInstantId ( const char *  LastInstantId)
static

Definition at line 5259 of file menu.c.

References MAXRECORDCONTROLS.

Referenced by cMenuMain::Update().

§ GetRecordControl() [1/2]

cRecordControl * cRecordControls::GetRecordControl ( const char *  FileName)
static

§ GetRecordControl() [2/2]

cRecordControl * cRecordControls::GetRecordControl ( const cTimer Timer)
static

Returns the cRecordControl for the given Timer.

If there is no cRecordControl for Timer, NULL is returned.

Definition at line 5283 of file menu.c.

References MAXRECORDCONTROLS.

§ PauseLiveVideo()

bool cRecordControls::PauseLiveVideo ( void  )
static

Definition at line 5244 of file menu.c.

References cControl::Attach(), cControl::Launch(), cSkins::Message(), mtStatus, cReplayControl::SetRecording(), Skins, and tr.

Referenced by main().

§ Process()

void cRecordControls::Process ( time_t  t)
static

§ Shutdown()

void cRecordControls::Shutdown ( void  )
static

Definition at line 5330 of file menu.c.

References DELETENULL(), and MAXRECORDCONTROLS.

Referenced by main().

§ Start()

bool cRecordControls::Start ( cTimer Timer = NULL,
bool  Pause = false 
)
static

§ StateChanged()

bool cRecordControls::StateChanged ( int &  State)
static

Definition at line 5337 of file menu.c.

Referenced by cMenuMain::Update().

§ Stop()

void cRecordControls::Stop ( const char *  InstantId)
static

Member Data Documentation

§ RecordControls

cRecordControl * cRecordControls::RecordControls = { NULL }
staticprivate

Definition at line 254 of file menu.h.

Referenced by cRecordControl::Process().

§ state

int cRecordControls::state = 0
staticprivate

Definition at line 255 of file menu.h.

Referenced by cRecordControl::Process().


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