author Francesco Lodolo (:flod) <>
Thu, 06 Apr 2017 07:14:05 +0200
changeset 28010 c45670fdd63209cc91d24f052f55a46c96a4f51d
parent 20097 e41e714750eb242b1a6022b346717076d91f0bb3
child 34305 babef6da7d89f1715921953da0fd0d95a5bb4f49
permissions -rw-r--r--
Bug 1353836 - Add all Aurora active locales to mail/all-locales and calendar/all-locales, r=fallen

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at */

#ifndef nsCharsetAlias_h___
#define nsCharsetAlias_h___

#include "nscore.h"
#include "nsString.h"

class nsCharsetConverterManager;
class nsScriptableUnicodeConverter;

class nsCharsetAlias
   friend class nsCharsetConverterManager;
   friend class nsScriptableUnicodeConverter;
   static nsresult GetPreferredInternal(const nsACString& aAlias, nsACString& aResult);
   static nsresult GetPreferred(const nsACString& aAlias, nsACString& aResult);
   static nsresult Equals(const nsACString& aCharset1, const nsACString& aCharset2, bool* aResult);

#endif /* nsCharsetAlias_h___ */