From a43526cb3ea60481ca8013c7453b13022630f177 Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Mon, 29 Jul 2019 13:20:54 +0200 Subject: OSYSTEM: Add convertEncoding virtual method --- common/system.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common') diff --git a/common/system.h b/common/system.h index c66b5f6014..92fdfc5e1a 100644 --- a/common/system.h +++ b/common/system.h @@ -60,6 +60,7 @@ class HardwareInputSet; class Keymap; class KeymapperDefaultBindings; #endif +class Encoding; } class AudioCDManager; @@ -107,6 +108,7 @@ enum Type { * control audio CD playback, and sound output. */ class OSystem : Common::NonCopyable { + friend class Common::Encoding; protected: OSystem(); virtual ~OSystem(); @@ -1490,6 +1492,9 @@ public: virtual bool isConnectionLimited(); //@} + + protected: + virtual char *convertEncoding(const char *to, const char *from, const char *string, size_t length) { return nullptr; } }; -- cgit v1.2.3