diff options
author | Timo Eskola <timo@tolleri.net> | 2015-09-08 10:12:46 +0300 |
---|---|---|
committer | Timo Eskola <timo@tolleri.net> | 2015-09-08 10:12:46 +0300 |
commit | 990f0f4b89f3603aed89c69089c4f912e8a07d3a (patch) | |
tree | e2d89ac3013c601c0b68c9b8fc46911769ef513b /menu.h | |
download | vdr-plugin-duplicates-990f0f4b89f3603aed89c69089c4f912e8a07d3a.tar.gz vdr-plugin-duplicates-990f0f4b89f3603aed89c69089c4f912e8a07d3a.tar.bz2 |
Version 0.0.1:
- Initial revision.
Diffstat (limited to 'menu.h')
-rw-r--r-- | menu.h | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -0,0 +1,37 @@ +/* + * menu.h: Menu implementation for duplicates plugin. + * + * The menu implementation is based on recordings menu in VDR. + * + * See the README file for copyright information and how to reach the author. + * + * $Id$ + */ + +#ifndef _DUPLICATES_MENU_H +#define _DUPLICATES_MENU_H + +#include <vdr/osdbase.h> +#include <vdr/recording.h> + +class cMenuDuplicateItem; + +// --- cMenuDuplicates ------------------------------------------------------- + +class cMenuDuplicates : public cOsdMenu { +private: + int recordingsState; + int helpKeys; + void SetHelpKeys(void); + void Set(bool Refresh = false); + eOSState Delete(void); + eOSState Info(void); +protected: + cRecording *GetRecording(cMenuDuplicateItem *Item); +public: + cMenuDuplicates(); + ~cMenuDuplicates(); + virtual eOSState ProcessKey(eKeys Key); + }; + +#endif |