diff options
| author | louis <louis.braun@gmx.de> | 2015-02-12 18:50:58 +0100 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-02-12 18:50:58 +0100 |
| commit | 4d7700aecedf475038d57e10f45ab2dd4bcf806f (patch) | |
| tree | 2fefc56fe77c8f4137187515a5f2b57d78425fea /libtemplate/template.h | |
| parent | 00ac852820a09f676157a7b487acf51f4fe95ff4 (diff) | |
| download | vdr-plugin-skindesigner-4d7700aecedf475038d57e10f45ab2dd4bcf806f.tar.gz vdr-plugin-skindesigner-4d7700aecedf475038d57e10f45ab2dd4bcf806f.tar.bz2 | |
plugin interface
Diffstat (limited to 'libtemplate/template.h')
| -rw-r--r-- | libtemplate/template.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libtemplate/template.h b/libtemplate/template.h index 2c1cfb2..79a824b 100644 --- a/libtemplate/template.h +++ b/libtemplate/template.h @@ -26,7 +26,8 @@ enum eViewType { vtDisplayReplay, vtDisplayVolume, vtDisplayAudioTracks, - vtDisplayMessage + vtDisplayMessage, + vtDisplayPlugin }; class cTemplate { @@ -37,13 +38,13 @@ private: protected: cGlobals *globals; cTemplateView *rootView; - void CreateView(void); + void CreateView(string pluginName, int viewID); void GetUsedFonts(cTemplateView *view, vector< pair<string, int> > &usedFonts); void CacheImages(cTemplateView *view); public: - cTemplate(eViewType viewType); + cTemplate(eViewType viewType, string pluginName = "", int viewID = -1); virtual ~cTemplate(void); - bool ReadFromXML(void); + bool ReadFromXML(string xmlfile = ""); void SetGlobals(cGlobals *globals); cTemplateView *GetRootView(void) { return rootView; }; void Translate(void); |
