diff options
| author | Dave <vdr@pickles.me.uk> | 2011-09-02 14:52:50 +0100 |
|---|---|---|
| committer | Dave <vdr@pickles.me.uk> | 2011-09-02 14:52:50 +0100 |
| commit | 8a51dd3076c28c1dcfd9865e55ab899c4722ea81 (patch) | |
| tree | 4b0f6dec1c654f0f8c26044b5f831f7b3b9dde66 /plugin/vdrtva.h | |
| parent | b45ad0563be48c5548d846d9e1f3426381ccd529 (diff) | |
| download | vdrtva-8a51dd3076c28c1dcfd9865e55ab899c4722ea81.tar.gz vdrtva-8a51dd3076c28c1dcfd9865e55ab899c4722ea81.tar.bz2 | |
Added auto-update of series links when new timer created.
Setup menu (untested).
Diffstat (limited to 'plugin/vdrtva.h')
| -rw-r--r-- | plugin/vdrtva.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/plugin/vdrtva.h b/plugin/vdrtva.h index 785f846..4149b0c 100644 --- a/plugin/vdrtva.h +++ b/plugin/vdrtva.h @@ -1,5 +1,6 @@ #include <vdr/filter.h> #include <vdr/device.h> +#include <vdr/status.h> class cTvaFilter : public cFilter { private: @@ -11,6 +12,38 @@ public: cTvaFilter(void); }; +class cTvaStatusMonitor : public cStatus { + private: + time_t timeradded; + protected: + virtual void TimerChange(const cTimer *Timer, eTimerChange Change); + // Indicates a change in the timer settings. + // If Change is tcAdd or tcDel, Timer points to the timer that has + // been added or will be deleted, respectively. In case of tcMod, + // Timer is NULL; this indicates that some timer has been changed. + // Note that tcAdd and tcDel are always also followed by a tcMod. + public: + cTvaStatusMonitor(void); + int GetTimerAddedDelta(void); + void ClearTimerAdded(void); +}; + + +class cTvaMenuSetup : public cMenuSetupPage { +private: + int newcollectionperiod; + int newlifetime; + int newpriority; + int newseriesLifetime; + int newupdatehours; + int newupdatemins; +protected: + virtual void Store(void); +public: + cTvaMenuSetup(void); +}; + + class cChanDA : public cListObject { private: int cid; |
