diff options
author | Jasmin Jessich <jasmin@anw.at> | 2017-05-21 04:07:46 +0200 |
---|---|---|
committer | Jasmin Jessich <jasmin@anw.at> | 2017-05-21 04:08:34 +0200 |
commit | 30fef3dda362173844b4edb50294803e02308269 (patch) | |
tree | 5eb370c1bdb54a11f292096e65eb8e24a251b1db /recman.h | |
parent | 5f457e6d67133e2b7e7269efedbbe758227b44e3 (diff) | |
download | vdr-plugin-live-30fef3dda362173844b4edb50294803e02308269.tar.gz vdr-plugin-live-30fef3dda362173844b4edb50294803e02308269.tar.bz2 |
Fixed compilation with VDR 2.2.0
Diffstat (limited to 'recman.h')
-rw-r--r-- | recman.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -122,15 +122,21 @@ namespace vdrlive { private: RecordingsManager(); +#if VDRVERSNUM >= 20301 static bool StateChanged (time_t& tm); +#endif static RecordingsManagerPtr EnsureValidData(); static std::tr1::weak_ptr< RecordingsManager > m_recMan; static std::tr1::shared_ptr< RecordingsTree > m_recTree; 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; +#else + static int m_recordingsState; +#endif cThreadLock m_recordingsLock; }; |