summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-02-10 14:11:47 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-02-10 14:11:47 +0100
commit56f1b1b741f45feefd499c8f3a4343734d72debd (patch)
tree41d73b3fe1f8b5c9aa50937463f0f408941e030e
parente1eb84db4908465b44a5ed685c62912a694607a6 (diff)
downloadvdr-56f1b1b741f45feefd499c8f3a4343734d72debd.tar.gz
vdr-56f1b1b741f45feefd499c8f3a4343734d72debd.tar.bz2
Some code cleanup
-rw-r--r--channels.c12
-rw-r--r--config.c12
-rw-r--r--diseqc.c6
-rw-r--r--keys.c10
-rw-r--r--sources.c6
-rw-r--r--spu.c4
-rw-r--r--timers.c6
7 files changed, 28 insertions, 28 deletions
diff --git a/channels.c b/channels.c
index aadd4bba..4fef3e1f 100644
--- a/channels.c
+++ b/channels.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: channels.c 1.57 2008/02/08 13:43:07 kls Exp $
+ * $Id: channels.c 1.58 2008/02/10 14:11:47 kls Exp $
*/
#include "channels.h"
@@ -18,7 +18,7 @@
// format characters in order to allow any number of blanks after a numeric
// value!
-// -- Channel Parameter Maps -------------------------------------------------
+// --- Channel Parameter Maps ------------------------------------------------
const tChannelParameterMap InversionValues[] = {
{ 0, INVERSION_OFF },
@@ -123,7 +123,7 @@ int MapToDriver(int Value, const tChannelParameterMap *Map)
return -1;
}
-// -- tChannelID -------------------------------------------------------------
+// --- tChannelID ------------------------------------------------------------
const tChannelID tChannelID::InvalidID;
@@ -158,7 +158,7 @@ tChannelID &tChannelID::ClrPolarization(void)
return *this;
}
-// -- cChannel ---------------------------------------------------------------
+// --- cChannel --------------------------------------------------------------
cChannel::cChannel(void)
{
@@ -850,7 +850,7 @@ bool cChannel::Save(FILE *f)
return fprintf(f, "%s", *ToText()) > 0;
}
-// -- cChannelSorter ---------------------------------------------------------
+// --- cChannelSorter --------------------------------------------------------
class cChannelSorter : public cListObject {
public:
@@ -866,7 +866,7 @@ public:
}
};
-// -- cChannels --------------------------------------------------------------
+// --- cChannels -------------------------------------------------------------
cChannels Channels;
diff --git a/config.c b/config.c
index 31365f80..1f5eb720 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c 1.158 2007/11/25 13:46:27 kls Exp $
+ * $Id: config.c 1.159 2008/02/10 14:10:48 kls Exp $
*/
#include "config.h"
@@ -86,7 +86,7 @@ const char *cCommand::Execute(const char *Parameters)
return result;
}
-// -- cSVDRPhost -------------------------------------------------------------
+// --- cSVDRPhost ------------------------------------------------------------
cSVDRPhost::cSVDRPhost(void)
{
@@ -122,12 +122,12 @@ bool cSVDRPhost::Accepts(in_addr_t Address)
return (Address & mask) == (addr.s_addr & mask);
}
-// -- cCommands --------------------------------------------------------------
+// --- cCommands -------------------------------------------------------------
cCommands Commands;
cCommands RecordingCommands;
-// -- cSVDRPhosts ------------------------------------------------------------
+// --- cSVDRPhosts -----------------------------------------------------------
cSVDRPhosts SVDRPhosts;
@@ -142,7 +142,7 @@ bool cSVDRPhosts::Acceptable(in_addr_t Address)
return false;
}
-// -- cSetupLine -------------------------------------------------------------
+// --- cSetupLine ------------------------------------------------------------
cSetupLine::cSetupLine(void)
{
@@ -208,7 +208,7 @@ bool cSetupLine::Save(FILE *f)
return fprintf(f, "%s%s%s = %s\n", plugin ? plugin : "", plugin ? "." : "", name, value) > 0;
}
-// -- cSetup -----------------------------------------------------------------
+// --- cSetup ----------------------------------------------------------------
cSetup Setup;
diff --git a/diseqc.c b/diseqc.c
index 7dc308b6..3ce60d29 100644
--- a/diseqc.c
+++ b/diseqc.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: diseqc.c 1.5 2005/12/30 15:41:48 kls Exp $
+ * $Id: diseqc.c 1.6 2008/02/10 14:09:27 kls Exp $
*/
#include "diseqc.h"
@@ -12,7 +12,7 @@
#include "sources.h"
#include "thread.h"
-// -- cDiseqc ----------------------------------------------------------------
+// --- cDiseqc ---------------------------------------------------------------
cDiseqc::cDiseqc(void)
{
@@ -122,7 +122,7 @@ cDiseqc::eDiseqcActions cDiseqc::Execute(char **CurrentAction)
return daNone;
}
-// -- cDiseqcs ---------------------------------------------------------------
+// --- cDiseqcs --------------------------------------------------------------
cDiseqcs Diseqcs;
diff --git a/keys.c b/keys.c
index d123705f..19e12e5e 100644
--- a/keys.c
+++ b/keys.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: keys.c 1.16 2007/09/26 12:35:21 kls Exp $
+ * $Id: keys.c 1.17 2008/02/10 14:08:48 kls Exp $
*/
#include "keys.h"
@@ -70,7 +70,7 @@ static tKey keyTable[] = { // "Up" and "Down" must be the first two keys!
{ kNone, NULL },
};
-// -- cKey -------------------------------------------------------------------
+// --- cKey ------------------------------------------------------------------
cKey::cKey(void)
{
@@ -149,7 +149,7 @@ const char *cKey::ToString(eKeys Key, bool Translate)
return NULL;
}
-// -- cKeys ------------------------------------------------------------------
+// --- cKeys -----------------------------------------------------------------
cKeys Keys;
@@ -194,7 +194,7 @@ void cKeys::PutSetup(const char *Remote, const char *Setup)
esyslog("ERROR: called PutSetup() for %s, but setup has already been defined!", Remote);
}
-// -- cKeyMacro --------------------------------------------------------------
+// --- cKeyMacro -------------------------------------------------------------
cKeyMacro::cKeyMacro(void)
{
@@ -260,7 +260,7 @@ bool cKeyMacro::Parse(char *s)
return true;
}
-// -- cKeyMacros -------------------------------------------------------------
+// --- cKeyMacros ------------------------------------------------------------
cKeyMacros KeyMacros;
diff --git a/sources.c b/sources.c
index 2f08debd..65002a5a 100644
--- a/sources.c
+++ b/sources.c
@@ -4,13 +4,13 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: sources.c 1.3 2004/12/26 11:58:52 kls Exp $
+ * $Id: sources.c 1.4 2008/02/10 14:07:26 kls Exp $
*/
#include "sources.h"
#include <ctype.h>
-// -- cSource ----------------------------------------------------------------
+// --- cSource ---------------------------------------------------------------
cSource::cSource(void)
{
@@ -101,7 +101,7 @@ int cSource::FromData(eSourceType SourceType, int Position, bool East)
return code;
}
-// -- cSources ---------------------------------------------------------------
+// --- cSources --------------------------------------------------------------
cSources Sources;
diff --git a/spu.c b/spu.c
index b53a560a..feb2d61c 100644
--- a/spu.c
+++ b/spu.c
@@ -6,13 +6,13 @@
* This code is distributed under the terms and conditions of the
* GNU GENERAL PUBLIC LICENSE. See the file COPYING for details.
*
- * $Id: spu.c 1.3 2006/04/17 11:00:00 kls Exp $
+ * $Id: spu.c 1.4 2008/02/10 14:06:48 kls Exp $
*/
#include "spu.h"
#include <inttypes.h>
-// -- cSpuDecoder ------------------------------------------------------------
+// --- cSpuDecoder -----------------------------------------------------------
/*
cSpuDecoder::cSpuDecoder()
{};
diff --git a/timers.c b/timers.c
index 8d20670e..3994641d 100644
--- a/timers.c
+++ b/timers.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.c 1.69 2008/02/10 12:22:02 kls Exp $
+ * $Id: timers.c 1.70 2008/02/10 14:05:49 kls Exp $
*/
#include "timers.h"
@@ -19,7 +19,7 @@
// format characters in order to allow any number of blanks after a numeric
// value!
-// -- cTimer -----------------------------------------------------------------
+// --- cTimer ----------------------------------------------------------------
cTimer::cTimer(bool Instant, bool Pause, cChannel *Channel)
{
@@ -608,7 +608,7 @@ void cTimer::OnOff(void)
Matches(); // refresh start and end time
}
-// -- cTimers ----------------------------------------------------------------
+// --- cTimers ---------------------------------------------------------------
cTimers Timers;