summaryrefslogtreecommitdiff
path: root/epghandler.h
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-11-21 08:11:04 (GMT)
committerDimitar Petrovski <dimeptr@gmail.com>2012-11-21 08:11:04 (GMT)
commitc72251596c42864a959aedd7d916e834aac276e9 (patch)
tree19350436aea74c64936440d203d057f172806f81 /epghandler.h
parenta6207b35db9e524fef7243faab839c4d98e318f1 (diff)
downloadvdr-plugin-eepg-c72251596c42864a959aedd7d916e834aac276e9.tar.gz
vdr-plugin-eepg-c72251596c42864a959aedd7d916e834aac276e9.tar.bz2
Moved charset fixing code to a separate class
Added setup option to enable/dissable charset fixing
Diffstat (limited to 'epghandler.h')
-rw-r--r--epghandler.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/epghandler.h b/epghandler.h
index 23874b9..b37f7c2 100644
--- a/epghandler.h
+++ b/epghandler.h
@@ -13,6 +13,9 @@
#include <string>
class cEquivHandler;
+namespace util {
+class cCharsetFixer;
+}
class cEEpgHandler : public cEpgHandler {
public:
@@ -36,17 +39,15 @@ public:
// bool ParseEitEvent(cSchedule *Schedule, const SI::EIT::Event *EitEvent, uchar TableID, uchar Version);
private:
- const char* FixCharset(const char* text);
std::string ExtractAttribute(const char* attr);
private:
std::string origShortText;
std::string origDescription;
- std::string fixCharset;
cEquivHandler* equivHandler;
+ util::cCharsetFixer* charsetFixer;
static const int _LONG_EVENT_HOURS = 10;
bool modified;
- const char* CharsetOverride;
};