MythTV  master
Classes | Functions
tvremoteutil.h File Reference
#include <QStringList>
#include <QDateTime>
#include <vector>
#include "mythtvexp.h"
Include dependency graph for tvremoteutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TunerStatus
 recording status stuff More...
 

Functions

MTV_PUBLIC uint RemoteGetState (uint inputid)
 
MTV_PUBLIC uint RemoteGetFlags (uint inputid)
 
MTV_PUBLIC bool RemoteRecordPending (uint inputid, const ProgramInfo *pginfo, int secsleft, bool hasLater)
 
MTV_PUBLIC bool RemoteStopLiveTV (uint inputid)
 
MTV_PUBLIC bool RemoteStopRecording (uint inputid)
 
MTV_PUBLIC void RemoteStopRecording (const ProgramInfo *pginfo)
 
MTV_PUBLIC void RemoteCancelNextRecording (uint inputid, bool cancel)
 
vector< InputInfoRemoteRequestFreeInputInfo (uint excluded_input)
 
MTV_PUBLIC int RemoteGetFreeRecorderCount (void)
 
MTV_PUBLIC RemoteEncoderRemoteRequestRecorder (void)
 
MTV_PUBLIC RemoteEncoderRemoteRequestNextFreeRecorder (int curr)
 
MTV_PUBLIC RemoteEncoderRemoteRequestFreeRecorderFromList (const QStringList &qualifiedRecorders, uint excluded_input)
 
MTV_PUBLIC RemoteEncoderRemoteGetExistingRecorder (const ProgramInfo *pginfo)
 
MTV_PUBLIC RemoteEncoderRemoteGetExistingRecorder (int recordernum)
 
MTV_PUBLIC vector< uintRemoteRequestFreeRecorderList (uint excluded_input)
 
MTV_PUBLIC vector< uintRemoteRequestFreeInputList (uint excluded_input)
 
MTV_PUBLIC bool RemoteIsBusy (uint inputid, InputInfo &busy_input)
 
MTV_PUBLIC bool RemoteGetRecordingStatus (vector< TunerStatus > *tunerList=nullptr, bool list_inactive=false)
 

Function Documentation

◆ RemoteGetState()

MTV_PUBLIC uint RemoteGetState ( uint  inputid)

Definition at line 30 of file tvremoteutil.cpp.

Referenced by TVRec::StartRecording().

◆ RemoteGetFlags()

MTV_PUBLIC uint RemoteGetFlags ( uint  inputid)

Definition at line 12 of file tvremoteutil.cpp.

◆ RemoteRecordPending()

MTV_PUBLIC bool RemoteRecordPending ( uint  inputid,
const ProgramInfo pginfo,
int  secsleft,
bool  hasLater 
)

Definition at line 49 of file tvremoteutil.cpp.

Referenced by TVRec::CancelNextRecording(), and TVRec::RecordPending().

◆ RemoteStopLiveTV()

MTV_PUBLIC bool RemoteStopLiveTV ( uint  inputid)

Definition at line 75 of file tvremoteutil.cpp.

◆ RemoteStopRecording() [1/2]

MTV_PUBLIC bool RemoteStopRecording ( uint  inputid)

◆ RemoteStopRecording() [2/2]

MTV_PUBLIC void RemoteStopRecording ( const ProgramInfo pginfo)

Definition at line 119 of file tvremoteutil.cpp.

◆ RemoteCancelNextRecording()

MTV_PUBLIC void RemoteCancelNextRecording ( uint  inputid,
bool  cancel 
)

Definition at line 127 of file tvremoteutil.cpp.

Referenced by TV::HandleOSDAskAllow().

◆ RemoteRequestFreeInputInfo()

vector<InputInfo> RemoteRequestFreeInputInfo ( uint  excluded_input)

◆ RemoteGetFreeRecorderCount()

MTV_PUBLIC int RemoteGetFreeRecorderCount ( void  )

Definition at line 167 of file tvremoteutil.cpp.

Referenced by isLiveTVAvailable(), TV::MenuLazyInit(), and TV::StartTV().

◆ RemoteRequestRecorder()

MTV_PUBLIC RemoteEncoder* RemoteRequestRecorder ( void  )

Definition at line 293 of file tvremoteutil.cpp.

◆ RemoteRequestNextFreeRecorder()

MTV_PUBLIC RemoteEncoder* RemoteRequestNextFreeRecorder ( int  curr)

Definition at line 179 of file tvremoteutil.cpp.

Referenced by TV::RequestNextRecorder(), and TV::SwitchInputs().

◆ RemoteRequestFreeRecorderFromList()

MTV_PUBLIC RemoteEncoder* RemoteRequestFreeRecorderFromList ( const QStringList &  qualifiedRecorders,
uint  excluded_input 
)

Definition at line 263 of file tvremoteutil.cpp.

Referenced by TV::ChangeChannel(), TV::HandleStateChange(), and TV::SwitchInputs().

◆ RemoteGetExistingRecorder() [1/2]

MTV_PUBLIC RemoteEncoder* RemoteGetExistingRecorder ( const ProgramInfo pginfo)

◆ RemoteGetExistingRecorder() [2/2]

MTV_PUBLIC RemoteEncoder* RemoteGetExistingRecorder ( int  recordernum)

Definition at line 339 of file tvremoteutil.cpp.

◆ RemoteRequestFreeRecorderList()

MTV_PUBLIC vector<uint> RemoteRequestFreeRecorderList ( uint  excluded_input)

Definition at line 226 of file tvremoteutil.cpp.

◆ RemoteRequestFreeInputList()

MTV_PUBLIC vector<uint> RemoteRequestFreeInputList ( uint  excluded_input)

Definition at line 244 of file tvremoteutil.cpp.

Referenced by GuideGrid::RunProgramGuide().

◆ RemoteIsBusy()

MTV_PUBLIC bool RemoteIsBusy ( uint  inputid,
InputInfo busy_input 
)

◆ RemoteGetRecordingStatus()

MTV_PUBLIC bool RemoteGetRecordingStatus ( vector< TunerStatus > *  tunerList = nullptr,
bool  list_inactive = false 
)

Definition at line 402 of file tvremoteutil.cpp.