Bumping manifests a=b2g-bump
[gecko.git] / xpcom / string / nsStringFwd.h
bloba9162f38426d257d86dcf30edc94ad6e67c05c49
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 /* nsStringFwd.h --- forward declarations for string classes */
9 #ifndef nsStringFwd_h___
10 #define nsStringFwd_h___
12 #include "nscore.h"
14 #ifndef MOZILLA_INTERNAL_API
15 #error Internal string headers are not available from external-linkage code.
16 #endif
18 /**
19 * double-byte (char16_t) string types
22 class nsAString;
23 class nsSubstringTuple;
24 class nsString;
25 class nsAutoString;
26 class nsDependentString;
27 class nsDependentSubstring;
28 class nsPromiseFlatString;
29 class nsStringComparator;
30 class nsDefaultStringComparator;
31 class nsXPIDLString;
34 /**
35 * single-byte (char) string types
38 class nsACString;
39 class nsCSubstringTuple;
40 class nsCString;
41 class nsAutoCString;
42 class nsDependentCString;
43 class nsDependentCSubstring;
44 class nsPromiseFlatCString;
45 class nsCStringComparator;
46 class nsDefaultCStringComparator;
47 class nsXPIDLCString;
50 /**
51 * typedefs for backwards compatibility
54 typedef nsAString nsSubstring;
55 typedef nsACString nsCSubstring;
57 typedef nsString nsAFlatString;
58 typedef nsSubstring nsASingleFragmentString;
60 typedef nsCString nsAFlatCString;
61 typedef nsCSubstring nsASingleFragmentCString;
64 #endif /* !defined(nsStringFwd_h___) */