summaryrefslogtreecommitdiff
path: root/recman.h
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2017-06-11 18:49:27 +0200
committerJasmin Jessich <jasmin@anw.at>2017-06-15 23:57:09 +0200
commit7419b1f522612cd05d1d9995bf355d728d9a7e5a (patch)
treed6a90bc1ae78d095856f576f6feed543781e0028 /recman.h
parent81139eddb642f4567151ebe98656ef67a72bd9d3 (diff)
downloadvdr-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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/recman.h b/recman.h
index 75f2adf..d9810b9 100644
--- a/recman.h
+++ b/recman.h
@@ -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