summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-08-16 09:18:52 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-08-16 09:18:52 +0200
commit57a95c6790fd080020c49c79557619fd129a66e0 (patch)
tree05878ebcc65837f792835ecc0afac13beb7474ad /channels.h
parentfc19cf3527d42d88f428b6fa7a935c2dc7cfe781 (diff)
downloadvdr-57a95c6790fd080020c49c79557619fd129a66e0.tar.gz
vdr-57a95c6790fd080020c49c79557619fd129a66e0.tar.bz2
VDR now stops with result value 2 if one of the configuration files can't be read correctly at program startup
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.h b/channels.h
index c82fc282..ca76af16 100644
--- a/channels.h
+++ b/channels.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: channels.h 1.7 2003/04/26 09:15:40 kls Exp $
+ * $Id: channels.h 1.8 2003/08/16 09:12:15 kls Exp $
*/
#ifndef __CHANNELS_H
@@ -130,7 +130,7 @@ protected:
int maxNumber;
public:
cChannels(void) { maxNumber = 0; }
- virtual bool Load(const char *FileName, bool AllowComments = false);
+ virtual bool Load(const char *FileName, bool AllowComments = false, bool MustExist = false);
int GetNextGroup(int Idx); // Get next channel group
int GetPrevGroup(int Idx); // Get previous channel group
int GetNextNormal(int Idx); // Get next normal channel (not group)