diff options
| author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-19 21:33:23 +0000 |
|---|---|---|
| committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-19 21:33:23 +0000 |
| commit | 359faf6c427f3ced6ec938e8b029b5f614eed4eb (patch) | |
| tree | 878cedb4aeea61856500bac67c183b2aebcf12ca /timers.cpp | |
| parent | a0f950a57be97a09ff1ea8a1339232379d37574c (diff) | |
| download | vdr-plugin-live-359faf6c427f3ced6ec938e8b029b5f614eed4eb.tar.gz vdr-plugin-live-359faf6c427f3ced6ec938e8b029b5f614eed4eb.tar.bz2 | |
- converted all tChannelID::ToString and *::FromString calls to the stream operators when streams are involved
Diffstat (limited to 'timers.cpp')
| -rw-r--r-- | timers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ SortedTimers::SortedTimers(): string SortedTimers::GetTimerId( cTimer const& timer ) { ostringstream builder; - builder << *timer.Channel()->GetChannelID().ToString() << ":" << timer.WeekDays() << ":" + builder << timer.Channel()->GetChannelID() << ":" << timer.WeekDays() << ":" << timer.Day() << ":" << timer.Start() << ":" << timer.Stop(); return builder.str(); } @@ -80,7 +80,7 @@ void TimerManager::UpdateTimer( cTimer* timer, int flags, tChannelID& channel, s int start, int stop, int priority, int lifetime, string const& title, string const& aux ) { ostringstream builder; - builder << flags << ":" << *channel.ToString() << ":" << ( weekdays != "-------" ? weekdays : "" ) + builder << flags << ":" << channel << ":" << ( weekdays != "-------" ? weekdays : "" ) << ( weekdays == "-------" || day.empty() ? "" : "@" ) << day << ":" << start << ":" << stop << ":" << priority << ":" << lifetime << ":" << title << ":" << aux; dsyslog("%s", builder.str().c_str()); |
