From 2cb8c257e0693fe8c7c7bdfe2b2dbe5c6b156bbe Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Fri, 12 Jan 2007 22:05:30 +0000 Subject: - added operators for streaming tChannelID - passing tChannelID consistently --- timers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'timers.cpp') 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()); -- cgit v1.2.3