summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2018-02-28 10:06:47 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2018-02-28 10:06:47 +0100
commit9c3ce0048a4572e602dc9f23c36940993db4959b (patch)
tree89eaa553944ce36acae3b125de15340bb269dd87 /timers.h
parent3a3a2339947cb9ca9b319e180e0521079be8551d (diff)
downloadvdr-9c3ce0048a4572e602dc9f23c36940993db4959b.tar.gz
vdr-9c3ce0048a4572e602dc9f23c36940993db4959b.tar.bz2
When remote timers are fetched from a peer VDR, we no longer blindly delete and re-add them, but rather compare them and make only the minimum necessary changes
Diffstat (limited to 'timers.h')
-rw-r--r--timers.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/timers.h b/timers.h
index 3146fce5..93d5a447 100644
--- a/timers.h
+++ b/timers.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.h 4.10 2018/02/25 12:54:55 kls Exp $
+ * $Id: timers.h 4.11 2018/02/27 13:57:26 kls Exp $
*/
#ifndef __TIMERS_H
@@ -190,7 +190,9 @@ public:
///< this list. If no ServerName is given, all remote timers from all peer machines
///< will be removed from this list. If no RemoteTimers are given, only the remote
///< timers from ServerName will be removed from this list.
- ///< Returns true if any remote timers have been added or deleted
+ ///< The given list of RemoteTimers must be sorted numerically (by a call to its
+ ///< SortNumerically() function).
+ ///< Returns true if any remote timers have been added, deleted or modified.
};
bool HandleRemoteTimerModifications(cTimer *NewTimer, cTimer *OldTimer = NULL, cString *Msg = NULL);