diff options
author | Jasmin Jessich <jasmin@anw.at> | 2017-06-17 23:38:14 +0200 |
---|---|---|
committer | Jasmin Jessich <jasmin@anw.at> | 2017-06-17 23:38:14 +0200 |
commit | 00e2a4d8f46a67f2eb5549fc9be6631c1e142490 (patch) | |
tree | 80430c7cfceaec2b2da85713ea42f6f10cbd9eb7 /timers.h | |
parent | 9bebbad537dfedc7d143b35d1d01dc9cc7b68b5f (diff) | |
download | vdr-plugin-live-00e2a4d8f46a67f2eb5549fc9be6631c1e142490.tar.gz vdr-plugin-live-00e2a4d8f46a67f2eb5549fc9be6631c1e142490.tar.bz2 |
Use a cStateKey for SortedTimers::Modified changed detection
- Added SortedTimers::m_TimersStateKey to store the last timers list state.
- SortedTimers::Modified uses now the new m_TimersStateKey to check, if the
list has been modified.
Diffstat (limited to 'timers.h')
-rw-r--r-- | timers.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -35,9 +35,15 @@ namespace vdrlive { SortedTimers(); SortedTimers( SortedTimers const& ); + cMutex m_mutex; + +#if VDRVERSNUM >= 20301 + cStateKey m_TimersStateKey; +#else int m_state; +#endif - void ReloadTimers( bool initial = false ); + void ReloadTimers(); }; class TimerManager: public cMutex |