summaryrefslogtreecommitdiff
path: root/svdrp.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-11-30 14:40:10 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-11-30 14:40:10 +0100
commitcf40f84b825547b89264c1a9ea5e718e98ba93a6 (patch)
treed03ba213858188c933785ac08fae7c9e68cc71ba /svdrp.h
parent498db82e98e44294cc7e6f2d2f1a5c0b10f6cd6c (diff)
downloadvdr-cf40f84b825547b89264c1a9ea5e718e98ba93a6.tar.gz
vdr-cf40f84b825547b89264c1a9ea5e718e98ba93a6.tar.bz2
Now taking an active SVDRP connection into account when doing shutdown or housekeeping
Diffstat (limited to 'svdrp.h')
-rw-r--r--svdrp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/svdrp.h b/svdrp.h
index 8b673df6..1052d633 100644
--- a/svdrp.h
+++ b/svdrp.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: svdrp.h 1.17 2002/10/20 12:44:42 kls Exp $
+ * $Id: svdrp.h 1.18 2002/11/30 14:36:04 kls Exp $
*/
#ifndef __SVDRP_H
@@ -79,6 +79,7 @@ private:
public:
cSVDRP(int Port);
~cSVDRP();
+ bool HasConnection(void) { return file.IsOpen(); }
bool Process(void);
char *GetMessage(void);
};