summaryrefslogtreecommitdiff
path: root/channelgroups.h
diff options
context:
space:
mode:
Diffstat (limited to 'channelgroups.h')
-rw-r--r--channelgroups.h13
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; };