xpcom/string/public/nsStringFwd.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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/. */
     6 /* nsStringFwd.h --- forward declarations for string classes */
     8 #ifndef nsStringFwd_h___
     9 #define nsStringFwd_h___
    11 #include "nscore.h"
    13 #ifndef MOZILLA_INTERNAL_API
    14 #error Internal string headers are not available from external-linkage code.
    15 #endif
    17   /**
    18    * double-byte (char16_t) string types
    19    */
    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;
    33   /**
    34    * single-byte (char) string types
    35    */
    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;
    49   /**
    50    * typedefs for backwards compatibility
    51    */
    53 typedef nsAString             nsSubstring;
    54 typedef nsACString            nsCSubstring;
    56 typedef nsString              nsAFlatString;
    57 typedef nsSubstring           nsASingleFragmentString;
    59 typedef nsCString             nsAFlatCString;
    60 typedef nsCSubstring          nsASingleFragmentCString;
    63 #endif /* !defined(nsStringFwd_h___) */

mercurial