summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamel5 <kamel5 (at) gmx (dot) net>2019-01-07 12:57:45 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-05 13:03:50 +0200
commit0bc43eb96d39def7e931202146c3b83a2aa4e58a (patch)
treea25dac9c1869c00d187c4c7605328df8813aa456
parent65248babe1380b5b9e214ffb30ccf7f3d4c02096 (diff)
downloadvdr-plugin-tvguideng-0bc43eb96d39def7e931202146c3b83a2aa4e58a.tar.gz
vdr-plugin-tvguideng-0bc43eb96d39def7e931202146c3b83a2aa4e58a.tar.bz2
Changes for VDR-2.3.1
-rw-r--r--channelgroups.h13
-rw-r--r--definitions.h10
-rw-r--r--switchtimer.h14
3 files changed, 32 insertions, 5 deletions
diff --git a/channelgroups.h b/channelgroups.h
index 19c8e8f..0b99a90 100644
--- a/channelgroups.h
+++ b/channelgroups.h
@@ -16,6 +16,19 @@ private:
int channelStop;
string name;
public:
+ cChannelGroup(const cChannelGroup &ChannelGroup)
+ {
+ *this = ChannelGroup;
+ };
+ cChannelGroup& operator= (const cChannelGroup &ChannelGroup)
+ {
+ this->id = ChannelGroup.id;
+ this->channelStart = ChannelGroup.channelStart;
+ this->channelStop = ChannelGroup.channelStop;
+ this->name = ChannelGroup.name;
+
+ return *this;
+ };
cChannelGroup(string name, int id);
virtual ~cChannelGroup(void);
int GetId(void) { return id; };
diff --git a/definitions.h b/definitions.h
index 32a5c45..17207b9 100644
--- a/definitions.h
+++ b/definitions.h
@@ -234,7 +234,7 @@ enum class eScraperHeaderIT {
};
enum class eDetailedHeaderST {
- title = eScraperHeaderST::count,
+ title = (int)eScraperHeaderST::count,
shorttext,
start,
stop,
@@ -249,7 +249,7 @@ enum class eDetailedHeaderST {
};
enum class eDetailedHeaderIT {
- daynumeric = eScraperHeaderIT::count,
+ daynumeric = (int)eScraperHeaderIT::count,
month,
year,
running,
@@ -375,7 +375,7 @@ enum class eScraperLT {
};
enum class eDetailedEpgST {
- title = eScraperST::count,
+ title = (int)eScraperST::count,
shorttext,
description,
start,
@@ -393,7 +393,7 @@ enum class eDetailedEpgST {
};
enum class eDetailedEpgIT {
- daynumeric = eScraperIT::count,
+ daynumeric = (int)eScraperIT::count,
month,
year,
running,
@@ -543,4 +543,4 @@ enum class eRecMenuST {
count
};
-#endif //__DEFINITIONS_H \ No newline at end of file
+#endif //__DEFINITIONS_H
diff --git a/switchtimer.h b/switchtimer.h
index eea468f..ba1479a 100644
--- a/switchtimer.h
+++ b/switchtimer.h
@@ -11,6 +11,20 @@ public:
tChannelID channelID;
int switchMinsBefore;
int announceOnly;
+ cSwitchTimer(const cSwitchTimer &SwitchTimer)
+ {
+ *this = SwitchTimer;
+ };
+ cSwitchTimer& operator= (const cSwitchTimer &SwitchTimer)
+ {
+ this->eventID = SwitchTimer.eventID;
+ this->startTime = SwitchTimer.startTime;
+ this->channelID = SwitchTimer.channelID;
+ this->switchMinsBefore = SwitchTimer.switchMinsBefore;
+ this->announceOnly = SwitchTimer.announceOnly;
+
+ return *this;
+ };
cSwitchTimer(void);
cSwitchTimer(const cEvent* Event);
bool Parse(const char *s);