vdr-plugin-skindesigner/displayplugin.h

45 lines
1.8 KiB
C
Raw Permalink Normal View History

#ifndef __DISPLAYPLUGIN_H
#define __DISPLAYPLUGIN_H
2015-04-06 15:34:08 +02:00
#include "libskindesignerapi/skindesignerapi.h"
#include "libtemplate/template.h"
2015-02-12 18:50:58 +01:00
#include "views/displaypluginview.h"
2015-04-02 15:09:41 +02:00
class cSkinDisplayPlugin : public skindesignerapi::ISkinDisplayPlugin {
private:
2015-02-12 18:50:58 +01:00
bool doOutput;
bool initial;
cDisplayPluginView *pluginView;
public:
2015-02-12 18:50:58 +01:00
cSkinDisplayPlugin(void) {};
2015-03-12 17:28:35 +01:00
cSkinDisplayPlugin(cTemplate *pluginTemplate, int subViewID);
2015-02-12 18:50:58 +01:00
virtual ~cSkinDisplayPlugin(void);
2015-03-12 17:28:35 +01:00
virtual void Deactivate(bool hide);
virtual void Activate(void);
virtual void ClearViewElement(int id);
2015-02-12 18:50:58 +01:00
virtual void DisplayViewElement(int id);
virtual void SetViewElementIntTokens(map<string,int> *intTokens);
virtual void SetViewElementStringTokens(map<string,string> *stringTokens);
virtual void SetViewElementLoopTokens(map<string,vector<map<string,string> > > *loopTokens);
virtual void InitGrids(int viewGridID);
virtual void SetGrid(int viewGridID, long gridID, double x, double y, double width, double height, map<string,int> *intTokens, map<string,string> *stringTokens);
virtual void SetGridCurrent(int viewGridID, long gridID, bool current);
virtual void DeleteGrid(int viewGridID, long gridID);
virtual void DisplayGrids(int viewGridID);
virtual void ClearGrids(int viewGridID);
2015-03-12 17:28:35 +01:00
virtual void SetTabIntTokens(map<string,int> *intTokens);
virtual void SetTabStringTokens(map<string,string> *stringTokens);
virtual void SetTabLoopTokens(map<string,vector<map<string,string> > > *loopTokens);
virtual void SetTabs(void);
virtual void TabLeft(void);
virtual void TabRight(void);
virtual void TabUp(void);
virtual void TabDown(void);
virtual void DisplayTabs(void);
2015-02-12 18:50:58 +01:00
virtual void Flush(void);
2015-03-12 17:28:35 +01:00
virtual bool ChannelLogoExists(string channelId);
virtual string GetEpgImagePath(void);
};
#endif //__DISPLAYPLUGIN_H