summaryrefslogtreecommitdiff
path: root/timers.cpp
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-04 15:02:00 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-04 15:02:00 +0000
commit64eaee28c243214e654c60b06a27212e8dcb5c02 (patch)
tree21b264c07166720513b65638feeb8fc3344530ec /timers.cpp
parent4bfb50c7a53074fa7e4673ffdd16502c1bf72fcb (diff)
downloadvdr-plugin-live-64eaee28c243214e654c60b06a27212e8dcb5c02.tar.gz
vdr-plugin-live-64eaee28c243214e654c60b06a27212e8dcb5c02.tar.bz2
- 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
Diffstat (limited to 'timers.cpp')
-rw-r--r--timers.cpp11
1 files changed, 1 insertions, 10 deletions
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