1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
/*
* menu.h: A plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
*/
#ifndef __menu_h_
#define __menu_h_
#include "status.h"
class cOsdMarkAd : public cOsdItem {
private:
struct sRecording *entry;
public:
explicit cOsdMarkAd(struct sRecording *Entry);
struct sRecording *GetEntry() {
return entry;
}
};
class cMenuMarkAd : public cOsdMenu {
private:
cStatusMarkAd *status = nullptr;
void SetHelpText(struct sRecording *Entry);
bool write();
time_t last = time(nullptr);;
int lastpos = 0;
public:
explicit cMenuMarkAd(cStatusMarkAd *Status);
eOSState ProcessKey(eKeys Key);
};
#endif
|