diff options
Diffstat (limited to 'Userland/Libraries/LibTextCodec/Decoder.h')
-rw-r--r-- | Userland/Libraries/LibTextCodec/Decoder.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibTextCodec/Decoder.h b/Userland/Libraries/LibTextCodec/Decoder.h index a4b1e68dd2..7c7c47c7fb 100644 --- a/Userland/Libraries/LibTextCodec/Decoder.h +++ b/Userland/Libraries/LibTextCodec/Decoder.h @@ -67,6 +67,11 @@ public: virtual void process(StringView, Function<void(u32)> on_code_point) override; }; +class XUserDefinedDecoder final : public Decoder { +public: + virtual void process(StringView, Function<void(u32)> on_code_point) override; +}; + Decoder* decoder_for(String const& encoding); Optional<String> get_standardized_encoding(const String& encoding); |