summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2018-02-25 13:26:17 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2018-02-25 13:26:17 +0100
commit6600478675add5e26e8af97c8de8b972a0cc1230 (patch)
treeb4b639951b5b628fa857e650b6976c33ca700a26 /timers.h
parentbbbc36a1e63b39db9fb985e9b5c5a4a24ea2f4a2 (diff)
downloadvdr-6600478675add5e26e8af97c8de8b972a0cc1230.tar.gz
vdr-6600478675add5e26e8af97c8de8b972a0cc1230.tar.bz2
Moved handling remote timers into cSVDRPClientHandler::ProcessConnections()
Diffstat (limited to 'timers.h')
-rw-r--r--timers.h21
1 files changed, 6 insertions, 15 deletions
diff --git a/timers.h b/timers.h
index 18ba30ec..3146fce5 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.9 2017/10/31 09:47:14 kls Exp $
+ * $Id: timers.h 4.10 2018/02/25 12:54:55 kls Exp $
*/
#ifndef __TIMERS_H
@@ -185,21 +185,12 @@ public:
void Add(cTimer *Timer, cTimer *After = NULL);
void Ins(cTimer *Timer, cTimer *Before = NULL);
void Del(cTimer *Timer, bool DeleteObject = true);
- bool GetRemoteTimers(const char *ServerName = NULL);
- ///< Gets the timers from the given remote machine and adds them to this
- ///< list. If no ServerName is given, all timers from all known remote
- ///< machines will be fetched. This function calls DelRemoteTimers() with
- ///< the given ServerName first.
+ bool StoreRemoteTimers(const char *ServerName = NULL, const cStringList *RemoteTimers = NULL);
+ ///< Stores the given list of RemoteTimers, which come from the VDR ServerName, in
+ ///< 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
- bool DelRemoteTimers(const char *ServerName = NULL);
- ///< Deletes all timers of the given remote machine from this list (leaves
- ///< them untouched on the remote machine). If no ServerName is given, the
- ///< timers of all remote machines will be deleted from the list.
- ///< Returns true if any remote timers have been deleted.
- void TriggerRemoteTimerPoll(const char *ServerName = NULL);
- ///< Sends an SVDRP POLL command to the given remote machine.
- ///< If no ServerName is given, the POLL command will be sent to all
- ///< known remote machines.
};
bool HandleRemoteTimerModifications(cTimer *NewTimer, cTimer *OldTimer = NULL, cString *Msg = NULL);