aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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; }
};