diff options
author | kamel5 <kamel5 (at) gmx (dot) net> | 2019-01-07 12:57:45 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-05 13:03:50 +0200 |
commit | 0bc43eb96d39def7e931202146c3b83a2aa4e58a (patch) | |
tree | a25dac9c1869c00d187c4c7605328df8813aa456 /channelgroups.h | |
parent | 65248babe1380b5b9e214ffb30ccf7f3d4c02096 (diff) | |
download | vdr-plugin-tvguideng-0bc43eb96d39def7e931202146c3b83a2aa4e58a.tar.gz vdr-plugin-tvguideng-0bc43eb96d39def7e931202146c3b83a2aa4e58a.tar.bz2 |
Changes for VDR-2.3.1
Diffstat (limited to 'channelgroups.h')
-rw-r--r-- | channelgroups.h | 13 |
1 files changed, 13 insertions, 0 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; }; |