diff options
Diffstat (limited to 'mailnews/mime/public/MimeHeaderParser.h')
-rw-r--r-- | mailnews/mime/public/MimeHeaderParser.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mailnews/mime/public/MimeHeaderParser.h b/mailnews/mime/public/MimeHeaderParser.h index fe9bf59d3..d8cd3705a 100644 --- a/mailnews/mime/public/MimeHeaderParser.h +++ b/mailnews/mime/public/MimeHeaderParser.h @@ -31,6 +31,11 @@ nsCOMArray<msgIAddressObject> DecodedHeader(const nsAString &aHeader); nsCOMArray<msgIAddressObject> EncodedHeader(const nsACString &aHeader, const char *aCharset = nullptr); +/** + * Same deal, but we're starting with an nsAString. + */ +nsCOMArray<msgIAddressObject> EncodedHeaderW(const nsAString &aHeader); + namespace detail { void DoConversion(const nsTArray<nsString> &aUTF16, nsTArray<nsCString> &aUTF8); }; |