aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-29 13:20:54 +0200
committerFilippos Karapetis2019-08-24 18:12:45 +0300
commita43526cb3ea60481ca8013c7453b13022630f177 (patch)
treed753d5eb8f9f74e0b083654a1951a4503c711ac2 /common
parentdfbbd228e621679ce25caafafd82cea09dabecfb (diff)
downloadscummvm-rg350-a43526cb3ea60481ca8013c7453b13022630f177.tar.gz
scummvm-rg350-a43526cb3ea60481ca8013c7453b13022630f177.tar.bz2
scummvm-rg350-a43526cb3ea60481ca8013c7453b13022630f177.zip
OSYSTEM: Add convertEncoding virtual method
Diffstat (limited to 'common')
-rw-r--r--common/system.h5
1 files changed, 5 insertions, 0 deletions
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; }
};