2015-01-27 17:30:24 +01:00
|
|
|
#ifndef __DISPLAYPLUGIN_H
|
|
|
|
#define __DISPLAYPLUGIN_H
|
|
|
|
|
|
|
|
#include "libtemplate/template.h"
|
2015-02-12 18:50:58 +01:00
|
|
|
#include "views/displaypluginview.h"
|
2015-01-27 17:30:24 +01:00
|
|
|
|
2015-02-12 18:50:58 +01:00
|
|
|
class cSkinDisplayPlugin {
|
2015-01-27 17:30:24 +01:00
|
|
|
private:
|
2015-02-12 18:50:58 +01:00
|
|
|
bool doOutput;
|
|
|
|
bool initial;
|
|
|
|
cDisplayPluginView *pluginView;
|
2015-01-27 17:30:24 +01:00
|
|
|
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);
|
2015-01-27 17:30:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DISPLAYPLUGIN_H
|