From 2f97c691627fa7c5c336dbf99a55374698f5f65f Mon Sep 17 00:00:00 2001 From: kamel5 Date: Fri, 1 Nov 2019 09:51:13 +0100 Subject: Update epgsearch.h and remotetimers.h --- services/remotetimers.h | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) (limited to 'services/remotetimers.h') diff --git a/services/remotetimers.h b/services/remotetimers.h index ea31124..950474f 100644 --- a/services/remotetimers.h +++ b/services/remotetimers.h @@ -1,7 +1,7 @@ /* * remotetimers.h: Public interface of the plugin's services * - * Copyright (C) 2008-2011 Frank Schmirler + * Copyright (C) 2008-2013 Frank Schmirler * * This file is part of VDR Plugin remotetimers. * @@ -24,10 +24,9 @@ #ifndef _SERVICE__H #define _SERVICE__H -#ifndef __TIMERS_H #include #include -#endif +#include /* * If the Data argument is NULL, all service calls return true. @@ -62,6 +61,16 @@ struct RemoteTimers_InstantRecording_v1_0 { //out // cString errorMsg; +/* + * RemoteTimers::ForEachConflict-v1.0 + * Iterates the list of remote timer conflicts. + * The service call always returns true. + * Data points to a const char* which must be NULL to return the first conflict. Pass the previously returned conflict to get the next one until const char* is NULL. + * + */ +//in+out +// const char* conflict; + /* * RemoteTimers::ForEach-v1.0 * Iterates the list of remote timers. @@ -138,4 +147,36 @@ struct RemoteTimers_Timer_v1_0 { cString errorMsg; }; +/* + * RemoteTimers::GetTimerById-v1.0 + * Get a remote timer by its id (i.e. timer->Index()+1 on remote machine). + * The service call always returns true. + * Data must point to a RemoteTimers_Timer_v1_1 structure. errorMsg is unused. + * NULL is returned as timer if no remote timer exists for the given id locally. + * Note that a timer with this id may exist remotely. This can happen if the + * remote timer's channel doesn't exist on the local machine. + */ + +struct RemoteTimers_Timer_v1_1 { +//in+out + cTimer *timer; + int id; +//out + cString errorMsg; +}; + +/* + * RemoteTimers::Menu-v1.0 + * Depending on the state parameter, open the Timers or Schedule menu. + * In case of an error, menu is NULL. + * Data points to a RemoteTimers_Menu_v1_0 struct. + */ +struct RemoteTimers_Menu_v1_0 { +//in + const char *serverIp; + unsigned short serverPort; + eOSState state; +//out + cOsdMenu *menu; +}; #endif //_SERVICE__H -- cgit v1.2.3