michael@0: /* -*- Mode: C++; tab-width: 2; 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: michael@0: /* nsStringFwd.h --- forward declarations for string classes */ michael@0: michael@0: #ifndef nsStringFwd_h___ michael@0: #define nsStringFwd_h___ michael@0: michael@0: #include "nscore.h" michael@0: michael@0: #ifndef MOZILLA_INTERNAL_API michael@0: #error Internal string headers are not available from external-linkage code. michael@0: #endif michael@0: michael@0: /** michael@0: * double-byte (char16_t) string types michael@0: */ michael@0: michael@0: class nsAString; michael@0: class nsSubstringTuple; michael@0: class nsString; michael@0: class nsAutoString; michael@0: class nsDependentString; michael@0: class nsDependentSubstring; michael@0: class nsPromiseFlatString; michael@0: class nsStringComparator; michael@0: class nsDefaultStringComparator; michael@0: class nsXPIDLString; michael@0: michael@0: michael@0: /** michael@0: * single-byte (char) string types michael@0: */ michael@0: michael@0: class nsACString; michael@0: class nsCSubstringTuple; michael@0: class nsCString; michael@0: class nsAutoCString; michael@0: class nsDependentCString; michael@0: class nsDependentCSubstring; michael@0: class nsPromiseFlatCString; michael@0: class nsCStringComparator; michael@0: class nsDefaultCStringComparator; michael@0: class nsXPIDLCString; michael@0: michael@0: michael@0: /** michael@0: * typedefs for backwards compatibility michael@0: */ michael@0: michael@0: typedef nsAString nsSubstring; michael@0: typedef nsACString nsCSubstring; michael@0: michael@0: typedef nsString nsAFlatString; michael@0: typedef nsSubstring nsASingleFragmentString; michael@0: michael@0: typedef nsCString nsAFlatCString; michael@0: typedef nsCSubstring nsASingleFragmentCString; michael@0: michael@0: michael@0: #endif /* !defined(nsStringFwd_h___) */