diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-15 19:35:06 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-15 19:35:06 +0000 |
commit | 6fd53f0b97b06f8bb718bef6da0d90df95f64e03 (patch) | |
tree | 5a5aa5d9a1b46741b8f2237cfaff8977aaa49ed6 /recordings.h | |
parent | e6818d2fe11ac37dde92cb53cfb6c9f9ef283dab (diff) | |
download | vdr-plugin-live-6fd53f0b97b06f8bb718bef6da0d90df95f64e03.tar.gz vdr-plugin-live-6fd53f0b97b06f8bb718bef6da0d90df95f64e03.tar.bz2 |
- moved ajax script to separate file
- moved call of ajax object to page element
- introduced page element for replaying recordings
- introduced task for replaying recordings
- added replay button to recordings page
Diffstat (limited to 'recordings.h')
-rw-r--r-- | recordings.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/recordings.h b/recordings.h index d070271..a8ea907 100644 --- a/recordings.h +++ b/recordings.h @@ -31,8 +31,9 @@ namespace vdrlive { virtual time_t StartTime() const = 0; virtual bool IsDir() const = 0; virtual const string& Name() const { return m_name; } - virtual const string& Id() const = 0; + virtual const string Id() const = 0; + virtual const cRecording* Recording() const { return 0; } virtual const cRecordingInfo* RecInfo() const { return 0; } protected: @@ -53,7 +54,7 @@ namespace vdrlive { virtual time_t StartTime() const { return 0; } virtual bool IsDir() const { return true; } - virtual const string& Id() const { return ""; } + virtual const string Id() const { return ""; } private: int m_level; @@ -68,8 +69,9 @@ namespace vdrlive { virtual time_t StartTime() const; virtual bool IsDir() const { return false; } - virtual const string& Id() const { return m_id; } + virtual const string Id() const { return m_id; } + virtual const cRecording* Recording() const { return m_recording; } virtual const cRecordingInfo* RecInfo() const { return m_recording->Info(); } private: |