summaryrefslogtreecommitdiff
path: root/epgsearchcfg.c
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2017-05-25 18:42:54 +0200
committerFrank Neumann <fnu@yavdr.org>2017-05-25 18:42:54 +0200
commita4e8393ac7d7a5a81f38da3b82745d5206fafa96 (patch)
tree575f889b12a6c6d7a879a96695376fe2d470f6fe /epgsearchcfg.c
parent09fb7f2ee787ae79bdcf39be1a05d561d41f6f79 (diff)
downloadvdr-plugin-epgsearch-a4e8393ac7d7a5a81f38da3b82745d5206fafa96.tar.gz
vdr-plugin-epgsearch-a4e8393ac7d7a5a81f38da3b82745d5206fafa96.tar.bz2
Added operator to cListObject derived classes.
Diffstat (limited to 'epgsearchcfg.c')
-rw-r--r--epgsearchcfg.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/epgsearchcfg.c b/epgsearchcfg.c
index 25fcb42..7124271 100644
--- a/epgsearchcfg.c
+++ b/epgsearchcfg.c
@@ -94,6 +94,16 @@ cEPGSearchConfig::cEPGSearchConfig(void)
sendMailOnConflicts = 0;
}
+cShowMode& cShowMode::operator= (const cShowMode &ShowMode)
+{
+ this->mode = ShowMode.mode;
+ this->seekTime = ShowMode.seekTime;
+ memcpy(this->description, ShowMode.description, sizeof(ShowMode.description));
+ this->useIt = ShowMode.useIt;
+ this->itime = ShowMode.itime;
+ return *this;
+}
+
int cShowMode::Compare(const cListObject &ListObject) const
{
cShowMode *p = (cShowMode *)&ListObject;