summaryrefslogtreecommitdiff
path: root/timers.cpp
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-12 22:05:30 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-12 22:05:30 +0000
commit2cb8c257e0693fe8c7c7bdfe2b2dbe5c6b156bbe (patch)
treef725782ef5c1a47fbf15d705fade594bc6ef0aa0 /timers.cpp
parentb405e4e3d31ceda6fa3de366d8c5374a160e1266 (diff)
downloadvdr-plugin-live-2cb8c257e0693fe8c7c7bdfe2b2dbe5c6b156bbe.tar.gz
vdr-plugin-live-2cb8c257e0693fe8c7c7bdfe2b2dbe5c6b156bbe.tar.bz2
- added operators for streaming tChannelID
- passing tChannelID consistently
Diffstat (limited to 'timers.cpp')
-rw-r--r--timers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/timers.cpp b/timers.cpp
index b5ceb52..91e9c67 100644
--- a/timers.cpp
+++ b/timers.cpp
@@ -79,11 +79,11 @@ TimerManager::TimerManager()
{
}
-void TimerManager::UpdateTimer( cTimer* timer, int flags, string const& channel, string const& weekdays, string const& day,
+void TimerManager::UpdateTimer( cTimer* timer, int flags, tChannelID& channel, string const& weekdays, string const& day,
int start, int stop, int priority, int lifetime, string const& title, string const& aux )
{
ostringstream builder;
- builder << flags << ":" << channel << ":" << ( weekdays != "-------" ? weekdays : "" )
+ builder << flags << ":" << *channel.ToString() << ":" << ( weekdays != "-------" ? weekdays : "" )
<< ( weekdays == "-------" || day.empty() ? "" : "@" ) << day << ":" << start << ":" << stop << ":"
<< priority << ":" << lifetime << ":" << title << ":" << aux;
dsyslog("%s", builder.str().c_str());