michael@0: /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: #ifndef nsCharsetConverterManager_h__ michael@0: #define nsCharsetConverterManager_h__ michael@0: michael@0: #include "nsISupports.h" michael@0: #include "nsICharsetConverterManager.h" michael@0: michael@0: class nsCharsetAlias; michael@0: michael@0: class nsCharsetConverterManager : public nsICharsetConverterManager michael@0: { michael@0: friend class nsCharsetAlias; michael@0: michael@0: NS_DECL_THREADSAFE_ISUPPORTS michael@0: NS_DECL_NSICHARSETCONVERTERMANAGER michael@0: michael@0: public: michael@0: nsCharsetConverterManager(); michael@0: virtual ~nsCharsetConverterManager(); michael@0: michael@0: static void Shutdown(); michael@0: michael@0: private: michael@0: michael@0: static bool IsInternal(const nsACString& aCharset); michael@0: }; michael@0: michael@0: #endif // nsCharsetConverterManager_h__ michael@0: michael@0: