diff options
author | Jasmin Jessich <jasmin@anw.at> | 2017-06-11 18:49:27 +0200 |
---|---|---|
committer | Jasmin Jessich <jasmin@anw.at> | 2017-06-15 23:57:09 +0200 |
commit | 7419b1f522612cd05d1d9995bf355d728d9a7e5a (patch) | |
tree | d6a90bc1ae78d095856f576f6feed543781e0028 /recman.h | |
parent | 81139eddb642f4567151ebe98656ef67a72bd9d3 (diff) | |
download | vdr-plugin-live-7419b1f522612cd05d1d9995bf355d728d9a7e5a.tar.gz vdr-plugin-live-7419b1f522612cd05d1d9995bf355d728d9a7e5a.tar.bz2 |
Use a cStateKey for recordings changed detection
- Added RecordingsManager::m_recordingsStateKey to store the last
recordings list state.
- RecordingsManager::StateChanged uses now the new m_recordingsStateKey to
check, if the list has been modified.
Diffstat (limited to 'recman.h')
-rw-r--r-- | recman.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -123,7 +123,7 @@ namespace vdrlive { RecordingsManager(); #if VDRVERSNUM >= 20301 - static bool StateChanged (time_t& tm); + static bool StateChanged(); #endif static RecordingsManagerPtr EnsureValidData(); @@ -132,8 +132,7 @@ namespace vdrlive { static std::tr1::shared_ptr< RecordingsList > m_recList; static std::tr1::shared_ptr< DirectoryList > m_recDirs; #if VDRVERSNUM >= 20301 - static time_t m_recordingsState; - static std::string m_UpdateFileName; + static cStateKey m_recordingsStateKey; #else static int m_recordingsState; #endif |