summaryrefslogtreecommitdiff
path: root/src/menuconfiguration.h
diff options
context:
space:
mode:
authorsvntobi <svntobi@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-08-25 19:46:15 +0000
committersvntobi <svntobi@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-08-25 19:46:15 +0000
commitf3bbcd9476beec7c43d2adb3bc0129ff8041d7ad (patch)
treedcb2502352c3d8c33b9910c0f3d2e671520e37d5 /src/menuconfiguration.h
parentbf2e1469fb12e6af25c8e23a93026536ba469534 (diff)
downloadvdr-plugin-menuorg-f3bbcd9476beec7c43d2adb3bc0129ff8041d7ad.tar.gz
vdr-plugin-menuorg-f3bbcd9476beec7c43d2adb3bc0129ff8041d7ad.tar.bz2
Fixed charset conversion for menu titles. They will now explicitly be converted
to VDR's locale charset falling back to ISO8859-2 on conversion errors. git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/menuorg/trunk@5986 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f
Diffstat (limited to 'src/menuconfiguration.h')
-rw-r--r--src/menuconfiguration.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/menuconfiguration.h b/src/menuconfiguration.h
index 292567e..5979150 100644
--- a/src/menuconfiguration.h
+++ b/src/menuconfiguration.h
@@ -26,9 +26,9 @@
#include <string>
#include <vector>
#include <vdr/osdbase.h>
+#include <glibmm/ustring.h>
namespace xmlpp { class Element; }
-
class MenuNode;
class cPlugin;
@@ -50,6 +50,7 @@ class MenuConfiguration
void AddPluginMenuNode(std::string pluginName, MenuNode* menu);
void AddUnconfiguredPlugins(MenuNode* menu);
void AddCommandMenuNode(std::string name, std::string command, bool confirm, MenuNode* menu);
+ std::string UnicodeToLocaleOrIso8859(Glib::ustring unicodeString);
};
#endif