xpcom/string/public/nsStringFwd.h

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:25582da3ff25
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 /* nsStringFwd.h --- forward declarations for string classes */
7
8 #ifndef nsStringFwd_h___
9 #define nsStringFwd_h___
10
11 #include "nscore.h"
12
13 #ifndef MOZILLA_INTERNAL_API
14 #error Internal string headers are not available from external-linkage code.
15 #endif
16
17 /**
18 * double-byte (char16_t) string types
19 */
20
21 class nsAString;
22 class nsSubstringTuple;
23 class nsString;
24 class nsAutoString;
25 class nsDependentString;
26 class nsDependentSubstring;
27 class nsPromiseFlatString;
28 class nsStringComparator;
29 class nsDefaultStringComparator;
30 class nsXPIDLString;
31
32
33 /**
34 * single-byte (char) string types
35 */
36
37 class nsACString;
38 class nsCSubstringTuple;
39 class nsCString;
40 class nsAutoCString;
41 class nsDependentCString;
42 class nsDependentCSubstring;
43 class nsPromiseFlatCString;
44 class nsCStringComparator;
45 class nsDefaultCStringComparator;
46 class nsXPIDLCString;
47
48
49 /**
50 * typedefs for backwards compatibility
51 */
52
53 typedef nsAString nsSubstring;
54 typedef nsACString nsCSubstring;
55
56 typedef nsString nsAFlatString;
57 typedef nsSubstring nsASingleFragmentString;
58
59 typedef nsCString nsAFlatCString;
60 typedef nsCSubstring nsASingleFragmentCString;
61
62
63 #endif /* !defined(nsStringFwd_h___) */

mercurial