summaryrefslogtreecommitdiff
path: root/enigma.h
diff options
context:
space:
mode:
Diffstat (limited to 'enigma.h')
-rw-r--r--enigma.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/enigma.h b/enigma.h
index 76b28e3..7bf4356 100644
--- a/enigma.h
+++ b/enigma.h
@@ -1,17 +1,19 @@
/*
- * enigma.h: The 'EnigmaNG' VDR skin
+ * enigma.h: 'EnigmaNG' skin for the Video Disk Recorder
*
*/
#ifndef __ENIGMA_H
#define __ENIGMA_H
+#include "common.h"
+
#include <vdr/skins.h>
#include <vdr/skinclassic.h>
class cSkinEnigma : public cSkin {
private:
- cSkin *skinFallback;
+ cSkin *skinFallback;
public:
cSkinEnigma();
@@ -22,6 +24,19 @@ public:
virtual cSkinDisplayVolume *DisplayVolume(void);
virtual cSkinDisplayTracks *DisplayTracks(const char *Title, int NumTracks, const char * const *Tracks);
virtual cSkinDisplayMessage *DisplayMessage(void);
- };
+};
+
+
+// common interface
+class cSkinEnigmaOsd {
+friend class cEnigmaTextEffects;
+
+public:
+ virtual ~cSkinEnigmaOsd(void)
+ {};
+ virtual void DrawTitle(const char *Title) = 0;
+};
#endif //__ENIGMA_H
+
+// vim:et:sw=2:ts=2: