11 #include "threads/CriticalSection.h"    12 #include "threads/SystemClock.h"    13 #include "windows/GUIMediaWindow.h"    19 #define CONTROL_BTNVIEWASICONS            2    20 #define CONTROL_BTNSORTBY                 3    21 #define CONTROL_BTNSORTASC                4    22 #define CONTROL_BTNGROUPITEMS             5    23 #define CONTROL_BTNSHOWHIDDEN             6    24 #define CONTROL_BTNSHOWDELETED            7    25 #define CONTROL_BTNHIDEDISABLEDTIMERS     8    26 #define CONTROL_BTNSHOWMODE               10    27 #define CONTROL_LSTCHANNELGROUPS          11    29 #define CONTROL_BTNCHANNELGROUPS          28    30 #define CONTROL_BTNFILTERCHANNELS         31    32 #define CONTROL_LABEL_HEADER1             29    33 #define CONTROL_LABEL_HEADER2             30    43     EPG_SELECT_ACTION_CONTEXT_MENU = 0,
    44     EPG_SELECT_ACTION_SWITCH = 1,
    45     EPG_SELECT_ACTION_INFO = 2,
    46     EPG_SELECT_ACTION_RECORD = 3,
    47     EPG_SELECT_ACTION_PLAY_RECORDING = 4,
    48     EPG_SELECT_ACTION_SMART_SELECT = 5
    51   class CPVRChannelGroup;
    52   class CGUIPVRChannelGroupsSelector;
    60     void OnDeinitWindow(
int nextWindowID) 
override;
    62     bool Update(
const std::string& strDirectory, 
bool updateFilterPath = 
true) 
override;
    64     bool OnAction(
const CAction& action) 
override;
    65     void SetInvalid() 
override;
    66     bool CanBeActivated() 
const override;
    68     bool UseFileDirectories()
 override { 
return false; }
    74     void Notify(
const PVREvent& event);
    75     virtual void NotifyEvent(
const PVREvent& event);
    83     bool ActivatePreviousChannelGroup();
    84     bool ActivateNextChannelGroup();
    85     bool OpenChannelGroupSelectionDialog();
    90     virtual std::string GetDirectoryPath() = 0;
    92     virtual void ClearData();
   113     virtual void UpdateSelectedItemPath();
   115     CCriticalSection m_critSection;
   116     std::string m_channelGroupPath;
   118     std::atomic_bool m_bUpdating = {
false};
   126     void ShowProgressDialog(
const std::string& strText, 
int iProgress);
   131     void HideProgressDialog();
   133     std::unique_ptr<CGUIPVRChannelGroupsSelector> m_channelGroupsSelector;
   134     std::shared_ptr<CPVRChannelGroup> m_channelGroup;
 Definition: GUIWindowPVRBase.h:54
std::shared_ptr< CPVRChannelGroup > GetChannelGroup()
Get the channel group for this window. 
Definition: GUIWindowPVRBase.cpp:528
Definition: ContextMenuManager.h:24
Definition: SystemClock.h:31
void OnInitWindow() override
Called on window open. 
Definition: GUIWindowPVRBase.cpp:252
Class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:21
bool InitChannelGroup()
Init this window's channel group with the currently active (the "playing") channel group...
Definition: GUIWindowPVRBase.cpp:491
bool DoRefresh()
Refresh window content. 
Definition: GUIWindowPVRBase.h:81
Definition: GUIMessage.h:365
Definition: SmartPlayList.cpp:137
void UpdateButtons() override
Updates the states. 
Definition: GUIWindowPVRBase.cpp:602
Definition: GUIDialogExtendedProgressBar.h:16
void SetChannelGroup(std::shared_ptr< CPVRChannelGroup > &&group, bool bUpdate=true)
Set a new channel group, start listening to this group, optionally update window content. 
Definition: GUIWindowPVRBase.cpp:534
bool Update(const std::string &strDirectory, bool updateFilterPath=true) override
Retrieves the items from the given path and updates the list. 
Definition: GUIWindowPVRBase.cpp:561
void Notify(const PVREvent &event)
CEventStream callback for PVR events. 
Definition: GUIWindowPVRBase.cpp:157