Go to the documentation of this file. 1 #ifndef TV_BROWSE_HELPER_H
2 #define TV_BROWSE_HELPER_H
8 #include <QWaitCondition>
54 bool UseChannelGroups,
const QString& DBChannelOrdering);
BrowseInfo(BrowseDirection Dir)
QMultiMap< QString, uint > m_dbChannumToChanids
BrowseDirection
Used to request ProgramInfo for channel browsing.
@ BROWSE_SAME
Fetch browse information on current channel and time.
void BrowseEnd(bool ChangeChannel)
Ends channel browsing.
~TVBrowseHelper() override
QString m_browseStartTime
TVBrowseHelper(TV *Parent)
QHash< uint, uint > m_dbChanidToSourceid
void ChangeChannel(const ChannelInfoList &Options)
uint GetBrowseChanId(const QString &Channum, uint PrefCardid, uint PrefSourceid) const
Returns a chanid for the channum, or 0 if none is available.
QHash< QString, QString > InfoMap
void GetNextProgram(BrowseDirection Direction, InfoMap &Infomap) const
Fetches information on the desired program from the backend.
QHash< uint, QString > m_dbChanidToChannum
static HostCheckBoxSetting * BrowseAllTuners()
bool m_dbUseChannelGroups
void BrowseInit(std::chrono::seconds BrowseMaxForward, bool BrowseAllTuners, bool UseChannelGroups, const QString &DBChannelOrdering)
BrowseInfo(BrowseDirection Dir, QString Channum, uint Chanid, QString Starttime)
void GetNextProgramDB(BrowseDirection Direction, InfoMap &Infomap) const
void BrowseDispInfo(const BrowseInfo &Browseinfo)
BrowseInfo GetBrowsedInfo() const
QWaitCondition m_browseWait
This is a wrapper around QThread that does several additional things.
void BrowseChannel(const QString &Channum)
QList< BrowseInfo > m_browseList
BrowseInfo(QString Channum, uint SourceId)
bool BrowseStart(bool SkipBrowse=false)
Begins channel browsing.
ChannelInfoList m_dbAllChannels
std::chrono::seconds m_dbBrowseMaxForward
void run() override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
std::vector< ChannelInfo > ChannelInfoList