From e0c2ee1d37c0f213f22a04df71710bebe3526f85 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Wed, 2 Jun 2004 19:56:58 +0000 Subject: - implemented image loading through ImageMagick (fixes crashes when running together with GraphTFT) - implemented Theme support (see file demo.colors in the demo skin) - implemented translations for texts used in skins (see file demo.trans in the demo skin) --- file.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 file.h (limited to 'file.h') diff --git a/file.h b/file.h new file mode 100644 index 0000000..a941591 --- /dev/null +++ b/file.h @@ -0,0 +1,28 @@ +/* + * $Id: file.h,v 1.1 2004/06/02 20:43:05 lordjaxom Exp $ + */ + +#ifndef VDR_TEXT2SKIN_FILE_H +#define VDR_TEXT2SKIN_FILE_H + +#include "common.h" +#include + +class cText2SkinFile { +private: + string mSkin; + +protected: + virtual bool Parse(const char *Text) = 0; + +public: + cText2SkinFile(const char *Skin); + virtual ~cText2SkinFile(); + + virtual bool Load(const string &Filename); + + const string &Skin(void) const { return mSkin; } +}; + +#endif // VDR_TEXT2SKIN_FILE_H + -- cgit v1.2.3