diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-11-01 09:51:13 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-11-01 10:13:30 +0100 |
commit | 2f97c691627fa7c5c336dbf99a55374698f5f65f (patch) | |
tree | cab95feb7bdc9ee57aa56cb274bd389bf97d60a4 /services/remotetimers.h | |
parent | 6419f67358242bbc3655d4534654d1a6509ad666 (diff) | |
download | skin-nopacity-2f97c691627fa7c5c336dbf99a55374698f5f65f.tar.gz skin-nopacity-2f97c691627fa7c5c336dbf99a55374698f5f65f.tar.bz2 |
Update epgsearch.h and remotetimers.h
Diffstat (limited to 'services/remotetimers.h')
-rw-r--r-- | services/remotetimers.h | 47 |
1 files changed, 44 insertions, 3 deletions
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 <vdr@schmirler.de> + * Copyright (C) 2008-2013 Frank Schmirler <vdr@schmirler.de> * * This file is part of VDR Plugin remotetimers. * @@ -24,10 +24,9 @@ #ifndef _SERVICE__H #define _SERVICE__H -#ifndef __TIMERS_H #include <vdr/timers.h> #include <vdr/epg.h> -#endif +#include <vdr/osdbase.h> /* * If the Data argument is NULL, all service calls return true. @@ -63,6 +62,16 @@ struct RemoteTimers_InstantRecording_v1_0 { // 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. * The service call always returns true. @@ -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 |