summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-10-23 10:04:01 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-10-23 10:04:01 +0200
commite73912d2e71f70952f9de8d056c32e9fe1b4b2df (patch)
tree5bc3c227b3b5edd5efaaeb3f43440a4c9f3127c3 /channels.h
parent657b49a1d57e7a6af89b0203cc6f8c329afb7c35 (diff)
downloadvdr-e73912d2e71f70952f9de8d056c32e9fe1b4b2df.tar.gz
vdr-e73912d2e71f70952f9de8d056c32e9fe1b4b2df.tar.bz2
Fixed detecting transponder lock; removed WAIT_FOR_LOCK_AFTER_TUNING; added some missing 'const' to cChannel
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/channels.h b/channels.h
index 666e91b6..a2530f10 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.19 2004/10/17 11:52:07 kls Exp $
+ * $Id: channels.h 1.20 2004/10/22 14:09:47 kls Exp $
*/
#ifndef __CHANNELS_H
@@ -88,7 +88,7 @@ class cChannel : public cListObject {
friend class cMenuEditChannel;
private:
static char *buffer;
- static const char *ToText(cChannel *Channel);
+ static const char *ToText(const cChannel *Channel);
enum { MaxChannelName = 64 }; // 63 chars + terminating 0!
int __BeginData__;
char name[MaxChannelName];
@@ -122,14 +122,14 @@ private:
int modification;
cLinkChannels *linkChannels;
cChannel *refChannel;
- const char *ParametersToString(void);
+ const char *ParametersToString(void) const;
bool StringToParameters(const char *s);
public:
cChannel(void);
cChannel(const cChannel &Channel);
~cChannel();
cChannel& operator= (const cChannel &Channel);
- const char *ToText(void);
+ const char *ToText(void) const;
bool Parse(const char *s, bool AllowNonUniqueID = false);
bool Save(FILE *f);
const char *Name(void) const { return name; }