remoteutil.h File Reference

Go to the source code of this file.

Classes

class  FileSystemInfo
 Holds hostname, total space, and used space in kilobytes. More...
class  TunerStatus
 recording status stuff More...

Functions

MPUBLIC uint RemoteGetState (uint cardid)
MPUBLIC uint RemoteGetFlags (uint cardid)
MPUBLIC vector< ProgramInfo * > * RemoteGetRecordedList (bool deltype)
MPUBLIC vector< FileSystemInfoRemoteGetFreeSpace ()
 Returns total and used space in kilobytes for each backend.
MPUBLIC bool RemoteGetLoad (float load[3])
MPUBLIC bool RemoteGetUptime (time_t &uptime)
MPUBLIC bool RemoteGetMemStats (int &totalMB, int &freeMB, int &totalVM, int &freeVM)
MPUBLIC bool RemoteCheckFile (ProgramInfo *pginfo, bool checkSlaves=true)
MPUBLIC bool RemoteRecordPending (uint cardid, const ProgramInfo *pginfo, int secsleft, bool hasLater)
MPUBLIC void RemoteStopRecording (ProgramInfo *pginfo)
MPUBLIC bool RemoteStopLiveTV (uint cardid)
MPUBLIC bool RemoteStopRecording (uint cardid)
MPUBLIC bool RemoteDeleteRecording (ProgramInfo *pginfo, bool forgetHistory, bool forceMetadataDelete=false)
MPUBLIC bool RemoteUndeleteRecording (ProgramInfo *pginfo)
MPUBLIC void RemoteGetAllScheduledRecordings (vector< ProgramInfo * > &scheduledlist)
MPUBLIC void RemoteGetAllExpiringRecordings (vector< ProgramInfo * > &expiringlist)
MPUBLIC int RemoteGetRecordingList (vector< ProgramInfo * > *reclist, QStringList &strList)
MPUBLIC vector< ProgramInfo * > * RemoteGetConflictList (ProgramInfo *pginfo)
MPUBLIC void RemoteSendMessage (const QString &message)
MPUBLIC RemoteEncoderRemoteRequestRecorder (void)
MPUBLIC RemoteEncoderRemoteRequestNextFreeRecorder (int curr)
MPUBLIC RemoteEncoderRemoteRequestFreeRecorderFromList (QStringList &qualifiedRecorders)
MPUBLIC RemoteEncoderRemoteGetExistingRecorder (ProgramInfo *pginfo)
MPUBLIC RemoteEncoderRemoteGetExistingRecorder (int recordernum)
MPUBLIC vector< uintRemoteRequestFreeRecorderList (void)
MPUBLIC vector< InputInfoRemoteRequestFreeInputList (uint cardid, vector< uint > excluded_cardids)
MPUBLIC InputInfo RemoteRequestBusyInputID (uint cardid)
MPUBLIC void RemoteCancelNextRecording (uint cardid, bool cancel)
MPUBLIC void RemoteGeneratePreviewPixmap (ProgramInfo *pginfo)
MPUBLIC QDateTime RemoteGetPreviewLastModified (ProgramInfo *pginfo)
MPUBLIC void RemoteFillProginfo (ProgramInfo *pginfo, const QString &playbackhostname)
MPUBLIC bool RemoteIsBusy (uint cardid, TunedInputInfo &busy_input)
MPUBLIC QStringList RemoteRecordings (void)
MPUBLIC int RemoteGetRecordingMask (void)
MPUBLIC int RemoteGetFreeRecorderCount (void)
MPUBLIC int RemoteCheckForRecording (ProgramInfo *pginfo)
MPUBLIC int RemoteGetRecordingStatus (ProgramInfo *pginfo, int overrecsecs, int underrecsecs)
MPUBLIC bool RemoteGetRecordingStatus (QPtrList< TunerStatus > *tunerList, bool list_inactive)
MPUBLIC vector< ProgramInfo * > * RemoteGetCurrentlyRecordingList (void)


Function Documentation

MPUBLIC uint RemoteGetState ( uint  cardid  ) 

Definition at line 32 of file remoteutil.cpp.

Referenced by TVRec::StartRecording().

MPUBLIC uint RemoteGetFlags ( uint  cardid  ) 

Definition at line 15 of file remoteutil.cpp.

MPUBLIC vector<ProgramInfo *>* RemoteGetRecordedList ( bool  deltype  ) 

MPUBLIC vector<FileSystemInfo> RemoteGetFreeSpace (  ) 

Returns total and used space in kilobytes for each backend.

Definition at line 73 of file remoteutil.cpp.

Referenced by StatusBox::doMachineStatus(), and PlaybackBox::updateUsage().

MPUBLIC bool RemoteGetLoad ( float  load[3]  ) 

Definition at line 98 of file remoteutil.cpp.

Referenced by StatusBox::doMachineStatus().

MPUBLIC bool RemoteGetUptime ( time_t &  uptime  ) 

Definition at line 113 of file remoteutil.cpp.

Referenced by StatusBox::doMachineStatus().

MPUBLIC bool RemoteGetMemStats ( int &  totalMB,
int &  freeMB,
int &  totalVM,
int &  freeVM 
)

Definition at line 135 of file remoteutil.cpp.

Referenced by StatusBox::doMachineStatus().

MPUBLIC bool RemoteCheckFile ( ProgramInfo pginfo,
bool  checkSlaves = true 
)

MPUBLIC bool RemoteRecordPending ( uint  cardid,
const ProgramInfo pginfo,
int  secsleft,
bool  hasLater 
)

Definition at line 171 of file remoteutil.cpp.

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

MPUBLIC void RemoteStopRecording ( ProgramInfo pginfo  ) 

MPUBLIC bool RemoteStopLiveTV ( uint  cardid  ) 

Definition at line 204 of file remoteutil.cpp.

MPUBLIC bool RemoteStopRecording ( uint  cardid  ) 

Definition at line 225 of file remoteutil.cpp.

MPUBLIC bool RemoteDeleteRecording ( ProgramInfo pginfo,
bool  forgetHistory,
bool  forceMetadataDelete = false 
)

MPUBLIC bool RemoteUndeleteRecording ( ProgramInfo pginfo  ) 

Definition at line 274 of file remoteutil.cpp.

Referenced by StatusBox::clicked(), and PlaybackBox::doUndelete().

MPUBLIC void RemoteGetAllScheduledRecordings ( vector< ProgramInfo * > &  scheduledlist  ) 

Definition at line 297 of file remoteutil.cpp.

Referenced by ProgramRecPriority::FillList().

MPUBLIC void RemoteGetAllExpiringRecordings ( vector< ProgramInfo * > &  expiringlist  ) 

Definition at line 303 of file remoteutil.cpp.

Referenced by StatusBox::doAutoExpireList().

MPUBLIC int RemoteGetRecordingList ( vector< ProgramInfo * > *  reclist,
QStringList &  strList 
)

MPUBLIC vector<ProgramInfo *>* RemoteGetConflictList ( ProgramInfo pginfo  ) 

Definition at line 336 of file remoteutil.cpp.

Referenced by ProgramInfo::ShowNotRecordingDialog().

MPUBLIC void RemoteSendMessage ( const QString &  message  ) 

MPUBLIC RemoteEncoder* RemoteRequestRecorder ( void   ) 

Definition at line 388 of file remoteutil.cpp.

Referenced by TV::TogglePIPView().

MPUBLIC RemoteEncoder* RemoteRequestNextFreeRecorder ( int  curr  ) 

Definition at line 348 of file remoteutil.cpp.

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

MPUBLIC RemoteEncoder* RemoteRequestFreeRecorderFromList ( QStringList &  qualifiedRecorders  ) 

Definition at line 365 of file remoteutil.cpp.

Referenced by TV::ChangeChannel(), and TV::SwitchCards().

MPUBLIC RemoteEncoder* RemoteGetExistingRecorder ( ProgramInfo pginfo  ) 

MPUBLIC RemoteEncoder* RemoteGetExistingRecorder ( int  recordernum  ) 

Definition at line 417 of file remoteutil.cpp.

MPUBLIC vector<uint> RemoteRequestFreeRecorderList ( void   ) 

Definition at line 431 of file remoteutil.cpp.

Referenced by TV::FillMenuLiveTV(), TV::IsTunable(), and TV::SwitchSource().

MPUBLIC vector<InputInfo> RemoteRequestFreeInputList ( uint  cardid,
vector< uint excluded_cardids 
)

MPUBLIC InputInfo RemoteRequestBusyInputID ( uint  cardid  ) 

Definition at line 475 of file remoteutil.cpp.

MPUBLIC void RemoteCancelNextRecording ( uint  cardid,
bool  cancel 
)

Definition at line 496 of file remoteutil.cpp.

Referenced by TV::HandleOSDAskAllowResponse().

MPUBLIC void RemoteGeneratePreviewPixmap ( ProgramInfo pginfo  ) 

Definition at line 513 of file remoteutil.cpp.

MPUBLIC QDateTime RemoteGetPreviewLastModified ( ProgramInfo pginfo  ) 

Definition at line 521 of file remoteutil.cpp.

Referenced by PlaybackBox::getPreviewLastModified().

MPUBLIC void RemoteFillProginfo ( ProgramInfo pginfo,
const QString &  playbackhostname 
)

Definition at line 540 of file remoteutil.cpp.

Referenced by TV::RunTV().

MPUBLIC bool RemoteIsBusy ( uint  cardid,
TunedInputInfo busy_input 
)

MPUBLIC QStringList RemoteRecordings ( void   ) 

Definition at line 577 of file remoteutil.cpp.

Referenced by XBox::CheckRec().

MPUBLIC int RemoteGetRecordingMask ( void   ) 

Definition at line 590 of file remoteutil.cpp.

Referenced by main(), and reloadTheme().

MPUBLIC int RemoteGetFreeRecorderCount ( void   ) 

Definition at line 623 of file remoteutil.cpp.

Referenced by TV::FillMenuLiveTV(), and TV::StartTV().

MPUBLIC int RemoteCheckForRecording ( ProgramInfo pginfo  ) 

Definition at line 640 of file remoteutil.cpp.

Referenced by RemoteGetRecordingStatus().

MPUBLIC int RemoteGetRecordingStatus ( ProgramInfo pginfo,
int  overrecsecs,
int  underrecsecs 
)

MPUBLIC bool RemoteGetRecordingStatus ( QPtrList< TunerStatus > *  tunerList,
bool  list_inactive 
)

Definition at line 676 of file remoteutil.cpp.

MPUBLIC vector<ProgramInfo *>* RemoteGetCurrentlyRecordingList ( void   ) 

Definition at line 760 of file remoteutil.cpp.

Referenced by TV::StartTV().


Generated on Sat Dec 18 05:15:55 2010 for MythTV by  doxygen 1.5.5