summaryrefslogtreecommitdiff
path: root/recmenus.h
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-04-09 18:25:58 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-04-14 13:58:07 +0200
commit6e8378743714df291cd421e6764145fc3bf00cbc (patch)
tree5ed402237b0f38ce92fa01a80dc5c198b680e743 /recmenus.h
parent333a3d397f0a8bbefaef720bd086d61bb10c839c (diff)
downloadvdr-plugin-tvguide-6e8378743714df291cd421e6764145fc3bf00cbc.tar.gz
vdr-plugin-tvguide-6e8378743714df291cd421e6764145fc3bf00cbc.tar.bz2
Channelgroup in cRecMenuSearchTimerEdit
Diffstat (limited to 'recmenus.h')
-rw-r--r--recmenus.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/recmenus.h b/recmenus.h
index 16f0488..24bb5c5 100644
--- a/recmenus.h
+++ b/recmenus.h
@@ -209,8 +209,10 @@ class cRecMenuSearchTimerEdit: public cRecMenu {
private:
bool advancedOptions;
cTVGuideSearchTimer searchTimer;
+ std::vector<std::string> channelGroups;
std::vector<cRecMenuItem*> mainMenuItems;
std::vector<cRecMenuItem*> useChannelSubMenu;
+ std::vector<cRecMenuItem*> useGroupSubMenu;
std::vector<cRecMenuItem*> useTimeSubMenu;
std::vector<cRecMenuItem*> useDayOfWeekSubMenu;
std::vector<cRecMenuItem*> avoidRepeatSubMenu;
@@ -226,9 +228,12 @@ private:
bool useTitle;
bool useSubtitle;
bool useDescription;
- bool useChannel;
+ int useChannel;
int startChannel;
int stopChannel;
+ std::string channelGroup;
+ std::vector<std::string> channelgroups;
+ int channelgroupIndex;
bool useTime;
int startTime;
int stopTime;
@@ -249,8 +254,9 @@ private:
bool useInFavorites;
void InitMenuItems(void);
void AddSubMenu(std::vector<cRecMenuItem*> *subMenu);
+ int SplitChannelGroups(std::vector<std::string> *channelGroups, std::vector<std::string> *channelgroups);
public:
- cRecMenuSearchTimerEdit(cTVGuideSearchTimer searchTimer, bool advancedOptions);
+ cRecMenuSearchTimerEdit(cTVGuideSearchTimer searchTimer, bool advancedOptions, std::vector<std::string> channelGroups);
void CreateMenuItems(void);
virtual ~cRecMenuSearchTimerEdit(void);
cTVGuideSearchTimer GetSearchTimer(void);