From 64eaee28c243214e654c60b06a27212e8dcb5c02 Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Thu, 4 Jan 2007 15:02:00 +0000 Subject: - optimized interface to access plugin objects from website - moved website code to pagelib subdirectory - introduced TimerManager that will help working on timers from a background thread --- timers.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'timers.cpp') diff --git a/timers.cpp b/timers.cpp index ed986be..ea3d6d1 100644 --- a/timers.cpp +++ b/timers.cpp @@ -1,18 +1,9 @@ #include "timers.h" -static bool operator<( cTimer const& left, cTimer const& right ) -{ - return left.Compare( right ) < 0; -} - namespace vdrlive { -SortedTimers::SortedTimers() +TimerManager::TimerManager() { - for ( cTimer* timer = Timers.First(); timer != 0; timer = Timers.Next( timer ) ) { - m_timers.push_back( *timer ); - } - m_timers.sort(); } } // namespace vdrlive -- cgit v1.2.3