diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-04 15:02:00 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-04 15:02:00 +0000 |
commit | 64eaee28c243214e654c60b06a27212e8dcb5c02 (patch) | |
tree | 21b264c07166720513b65638feeb8fc3344530ec /live.cpp | |
parent | 4bfb50c7a53074fa7e4673ffdd16502c1bf72fcb (diff) | |
download | vdr-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 'live.cpp')
-rw-r--r-- | live.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: live.cpp,v 1.5 2007/01/03 21:43:21 lordjaxom Exp $ + * $Id: live.cpp,v 1.6 2007/01/04 15:02:00 lordjaxom Exp $ */ #include <vdr/plugin.h> @@ -11,6 +11,7 @@ #include "live.h" #include "setup.h" #include "thread.h" +#include "timers.h" namespace vdrlive { @@ -71,6 +72,12 @@ Setup& Plugin::GetLiveSetup() return instance; } +TimerManager& Plugin::GetLiveTimerManager() +{ + static TimerManager instance; + return instance; +} + } // namespace vdrlive VDRPLUGINCREATOR(vdrlive::Plugin); // Don't touch this! |