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, std::chrono::seconds 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)
 
std::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 std::vector< uintRemoteRequestFreeRecorderList (uint excluded_input)
 
MTV_PUBLIC std::vector< uintRemoteRequestFreeInputList (uint excluded_input)
 
MTV_PUBLIC bool RemoteIsBusy (uint inputid, InputInfo &busy_input)
 
MTV_PUBLIC bool RemoteGetRecordingStatus (std::vector< TunerStatus > *tunerList=nullptr, bool list_inactive=false)
 

Function Documentation

◆ RemoteGetState()

MTV_PUBLIC uint RemoteGetState ( uint  inputid)

Definition at line 32 of file tvremoteutil.cpp.

Referenced by TVRec::StartRecording().

◆ RemoteGetFlags()

MTV_PUBLIC uint RemoteGetFlags ( uint  inputid)

Definition at line 14 of file tvremoteutil.cpp.

◆ RemoteRecordPending()

MTV_PUBLIC bool RemoteRecordPending ( uint  inputid,
const ProgramInfo pginfo,
std::chrono::seconds  secsleft,
bool  hasLater 
)

Definition at line 51 of file tvremoteutil.cpp.

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

◆ RemoteStopLiveTV()

MTV_PUBLIC bool RemoteStopLiveTV ( uint  inputid)

Definition at line 77 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 121 of file tvremoteutil.cpp.

◆ RemoteCancelNextRecording()

MTV_PUBLIC void RemoteCancelNextRecording ( uint  inputid,
bool  cancel 
)

Definition at line 129 of file tvremoteutil.cpp.

Referenced by TV::HandleOSDAskAllow().

◆ RemoteRequestFreeInputInfo()

std::vector<InputInfo> RemoteRequestFreeInputInfo ( uint  excluded_input)

◆ RemoteGetFreeRecorderCount()

MTV_PUBLIC int RemoteGetFreeRecorderCount ( void  )

Definition at line 169 of file tvremoteutil.cpp.

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

◆ RemoteRequestRecorder()

MTV_PUBLIC RemoteEncoder* RemoteRequestRecorder ( void  )

Definition at line 292 of file tvremoteutil.cpp.

◆ RemoteRequestNextFreeRecorder()

MTV_PUBLIC RemoteEncoder* RemoteRequestNextFreeRecorder ( int  curr)

Definition at line 181 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 265 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 338 of file tvremoteutil.cpp.

◆ RemoteRequestFreeRecorderList()

MTV_PUBLIC std::vector<uint> RemoteRequestFreeRecorderList ( uint  excluded_input)

Definition at line 228 of file tvremoteutil.cpp.

◆ RemoteRequestFreeInputList()

MTV_PUBLIC std::vector<uint> RemoteRequestFreeInputList ( uint  excluded_input)

Definition at line 246 of file tvremoteutil.cpp.

Referenced by GuideGrid::RunProgramGuide().

◆ RemoteIsBusy()

MTV_PUBLIC bool RemoteIsBusy ( uint  inputid,
InputInfo busy_input 
)

◆ RemoteGetRecordingStatus()

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

Definition at line 401 of file tvremoteutil.cpp.