diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-30 14:40:10 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-30 14:40:10 +0100 |
commit | cf40f84b825547b89264c1a9ea5e718e98ba93a6 (patch) | |
tree | d03ba213858188c933785ac08fae7c9e68cc71ba /interface.h | |
parent | 498db82e98e44294cc7e6f2d2f1a5c0b10f6cd6c (diff) | |
download | vdr-cf40f84b825547b89264c1a9ea5e718e98ba93a6.tar.gz vdr-cf40f84b825547b89264c1a9ea5e718e98ba93a6.tar.bz2 |
Now taking an active SVDRP connection into account when doing shutdown or housekeeping
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/interface.h b/interface.h index 6344c5bd..e78b9ebc 100644 --- a/interface.h +++ b/interface.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: interface.h 1.28 2002/09/29 10:46:50 kls Exp $ + * $Id: interface.h 1.29 2002/11/30 14:37:04 kls Exp $ */ #ifndef __INTERFACE_H @@ -33,6 +33,7 @@ public: bool IsOpen(void) { return open > 0; } void Open(int NumCols = 0, int NumLines = 0); void Close(void); + bool HasSVDRPConnection(void) { return SVDRP && SVDRP->HasConnection(); } void Interrupt(void) { interrupted = true; } int Width(void) { return width; } int Height(void) { return height; } |