vdr-plugin-skindesigner/views/displayviewelements.h

84 lines
2.5 KiB
C
Raw Normal View History

#ifndef __DISPLAYCHANNELVIEWELEMENTS_H
#define __DISPLAYCHANNELVIEWELEMENTS_H
#include "../libtemplate/template.h"
#include "view.h"
#include "viewhelpers.h"
class cViewElementDevices : public cViewElement, public cViewHelpers {
private:
bool init;
bool light;
public:
cViewElementDevices(bool light, cTemplateViewElement *tmplViewElement);
virtual ~cViewElementDevices() {};
bool Render(void);
};
class cViewElementScraperContent : public cViewElement, public cViewHelpers {
private:
const cEvent *event;
const cRecording *recording;
public:
cViewElementScraperContent(const cEvent *event, const cRecording *recording, cTemplateViewElement *tmplViewElement);
virtual ~cViewElementScraperContent() {};
void SetEvent(const cEvent *event) { this->event = event; };
void SetRecording(const cRecording *recording) { this->recording = recording; };
bool Render(void);
};
class cViewElementCustomTokens : public cViewElement, public cViewHelpers {
private:
cTemplateView *tmplView;
public:
cViewElementCustomTokens(cTemplateViewElement *tmplViewElement, cTemplateView *tmplView);
virtual ~cViewElementCustomTokens() {};
bool Render(void);
};
class cViewElementTimers : public cViewElement, public cViewHelpers {
private:
public:
cViewElementTimers(cTemplateViewElement *tmplViewElement);
virtual ~cViewElementTimers() {};
bool Render(void);
};
class cViewElementLastRecordings : public cViewElement, public cViewHelpers {
private:
public:
cViewElementLastRecordings(cTemplateViewElement *tmplViewElement);
virtual ~cViewElementLastRecordings() {};
bool Render(void);
};
2015-05-10 12:55:23 +02:00
class cViewElementCurrentSchedule : public cViewElement, public cViewHelpers {
private:
2015-05-10 12:55:23 +02:00
string currentRecording;
public:
2015-05-10 12:55:23 +02:00
cViewElementCurrentSchedule(cTemplateViewElement *tmplViewElement, string currentRecording);
virtual ~cViewElementCurrentSchedule() {};
bool Render(void);
};
2015-05-10 12:55:23 +02:00
class cViewElementMenuHeader : public cViewElement, public cViewHelpers {
private:
2015-05-10 12:55:23 +02:00
eMenuCategory cat;
string menuTitle;
public:
2015-05-10 12:55:23 +02:00
cViewElementMenuHeader(cTemplateViewElement *tmplViewElement, eMenuCategory cat, string menuTitle);
virtual ~cViewElementMenuHeader() {};
bool Render(void);
};
class cViewElementMenuMessage : public cViewElement, public cViewHelpers {
private:
eMessageType type;
string text;
public:
cViewElementMenuMessage(cTemplateViewElement *tmplViewElement, eMessageType type, string text);
virtual ~cViewElementMenuMessage() {};
bool Render(void);
};
#endif //__DISPLAYCHANNELVIEWELEMENTS_H