MythTV master
tvremoteutil.h
Go to the documentation of this file.
1#ifndef TV_REMOTE_UTIL_H
2#define TV_REMOTE_UTIL_H
3
4#include <QStringList>
5#include <QDateTime>
6
7#include <vector>
8
9#include "mythtvexp.h"
10
11class ProgramInfo;
12class RemoteEncoder;
13class InputInfo;
14
17{
18 public:
19 uint id {0};
20 bool isRecording {false};
21 QString channame;
22 QString title;
23 QString subtitle;
24 QDateTime startTime;
25 QDateTime endTime;
26};
27
31 uint inputid, const ProgramInfo *pginfo, std::chrono::seconds secsleft, bool hasLater);
32MTV_PUBLIC bool RemoteStopLiveTV(uint inputid);
35MTV_PUBLIC void RemoteCancelNextRecording(uint inputid, bool cancel);
36std::vector<InputInfo>
37RemoteRequestFreeInputInfo(uint excluded_input);
42(const QStringList &qualifiedRecorders, uint excluded_input);
45MTV_PUBLIC std::vector<uint>
47MTV_PUBLIC std::vector<uint>
48RemoteRequestFreeInputList(uint excluded_input);
49MTV_PUBLIC bool RemoteIsBusy(uint inputid, InputInfo &busy_input);
50
52 std::vector<TunerStatus> *tunerList = nullptr, bool list_inactive = false);
53
54#endif // TV_REMOTE_UTIL_H
55
56/* vim: set expandtab tabstop=4 shiftwidth=4: */
Holds information on recordings and videos.
Definition: programinfo.h:68
recording status stuff
Definition: tvremoteutil.h:17
bool isRecording
Definition: tvremoteutil.h:20
QDateTime endTime
Definition: tvremoteutil.h:25
QString subtitle
Definition: tvremoteutil.h:23
QString channame
Definition: tvremoteutil.h:21
QString title
Definition: tvremoteutil.h:22
QDateTime startTime
Definition: tvremoteutil.h:24
unsigned int uint
Definition: freesurround.h:24
#define MTV_PUBLIC
Definition: mythtvexp.h:15
MTV_PUBLIC RemoteEncoder * RemoteRequestNextFreeRecorder(int curr)
MTV_PUBLIC std::vector< uint > RemoteRequestFreeInputList(uint excluded_input)
MTV_PUBLIC bool RemoteGetRecordingStatus(std::vector< TunerStatus > *tunerList=nullptr, bool list_inactive=false)
MTV_PUBLIC void RemoteCancelNextRecording(uint inputid, bool cancel)
MTV_PUBLIC RemoteEncoder * RemoteRequestFreeRecorderFromList(const QStringList &qualifiedRecorders, uint excluded_input)
std::vector< InputInfo > RemoteRequestFreeInputInfo(uint excluded_input)
MTV_PUBLIC bool RemoteStopRecording(uint inputid)
MTV_PUBLIC std::vector< uint > RemoteRequestFreeRecorderList(uint excluded_input)
MTV_PUBLIC uint RemoteGetState(uint inputid)
MTV_PUBLIC int RemoteGetFreeRecorderCount(void)
MTV_PUBLIC uint RemoteGetFlags(uint inputid)
MTV_PUBLIC RemoteEncoder * RemoteRequestRecorder(void)
MTV_PUBLIC bool RemoteRecordPending(uint inputid, const ProgramInfo *pginfo, std::chrono::seconds secsleft, bool hasLater)
MTV_PUBLIC RemoteEncoder * RemoteGetExistingRecorder(const ProgramInfo *pginfo)
MTV_PUBLIC bool RemoteIsBusy(uint inputid, InputInfo &busy_input)
MTV_PUBLIC bool RemoteStopLiveTV(uint inputid)