From 990f0f4b89f3603aed89c69089c4f912e8a07d3a Mon Sep 17 00:00:00 2001 From: Timo Eskola Date: Tue, 8 Sep 2015 10:12:46 +0300 Subject: Version 0.0.1: - Initial revision. --- menu.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 menu.h (limited to 'menu.h') diff --git a/menu.h b/menu.h new file mode 100644 index 0000000..5a170d4 --- /dev/null +++ b/menu.h @@ -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 +#include + +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 -- cgit v1.2.3