summaryrefslogtreecommitdiff
path: root/libtemplate/template.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2016-01-26 18:32:38 +0100
committerlouis <louis.braun@gmx.de>2016-01-26 18:32:38 +0100
commit809fbda03c5014ba9cd361f5113d1d717cd41ea6 (patch)
tree264bbc5640375f1bcb165fc7f4a3e595adcc26ca /libtemplate/template.h
parent196dd7eb9965a405bb16b51dc870fbbb31aeef87 (diff)
downloadvdr-plugin-skindesigner-809fbda03c5014ba9cd361f5113d1d717cd41ea6.tar.gz
vdr-plugin-skindesigner-809fbda03c5014ba9cd361f5113d1d717cd41ea6.tar.bz2
Version 0.8.0 beta
Diffstat (limited to 'libtemplate/template.h')
-rw-r--r--libtemplate/template.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/libtemplate/template.h b/libtemplate/template.h
deleted file mode 100644
index 75dce5c..0000000
--- a/libtemplate/template.h
+++ /dev/null
@@ -1,61 +0,0 @@
-#ifndef __TEMPLATE_H
-#define __TEMPLATE_H
-
-#include <iostream>
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdint.h>
-#include <string>
-#include <vector>
-#include <map>
-#include <set>
-#include <sstream>
-
-#include "globals.h"
-#include "templateview.h"
-#include "templateviewelement.h"
-#include "templatepixmap.h"
-#include "templatefunction.h"
-
-using namespace std;
-
-// --- cTemplate -------------------------------------------------------------
-enum eViewType {
- vtDisplayChannel,
- vtDisplayMenu,
- vtDisplayReplay,
- vtDisplayVolume,
- vtDisplayAudioTracks,
- vtDisplayMessage,
- vtDisplayPlugin
-};
-
-class cTemplate {
-private:
- eViewType viewType;
- void CachePixmapImages(cTemplatePixmap *pix);
- void CacheImage(cTemplateFunction *func);
-protected:
- cGlobals *globals;
- cTemplateView *rootView;
- void CreateView(string pluginName, int viewID);
- void GetUsedFonts(cTemplateView *view, vector< pair<string, int> > &usedFonts);
- void CacheImages(cTemplateView *view);
-public:
- cTemplate(eViewType viewType, string pluginName = "", int viewID = -1);
- virtual ~cTemplate(void);
- bool ReadFromXML(string xmlfile = "");
- void SetGlobals(cGlobals *globals);
- cTemplateView *GetRootView(void) { return rootView; };
- void Translate(void);
- void PreCache(void);
- //get fonts for pre caching
- vector< pair<string, int> > GetUsedFonts(void);
- void CacheImages(void);
- //Set Plugin Subviews
- bool SetSubViews(string plugName, int viewID);
- //Debug
- void Debug(void);
-};
-
-#endif //__TEMPLATE_H \ No newline at end of file