intl/uconv/util/nsUCConstructors.h

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     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 #ifndef __nsUCConstructors_h
     7 #define __nsUCConstructors_h
     9 #include <stdint.h>
    10 #include "nscore.h"
    11 #include "nsID.h"
    12 #include "uconvutil.h"
    14 class nsISupports;
    16 // all the useful constructors
    17 NS_METHOD
    18 CreateMultiTableDecoder(int32_t aTableCount,
    19                         const uRange * aRangeArray, 
    20                         uScanClassID * aScanClassArray,
    21                         uMappingTable ** aMappingTable,
    22                         uint32_t aMaxLengthFactor,
    24                         nsISupports* aOuter,
    25                         REFNSIID aIID,
    26                         void** aResult);
    28 NS_METHOD
    29 CreateMultiTableEncoder(int32_t aTableCount,
    30                         uScanClassID * aScanClassArray,
    31                         uShiftOutTable ** aShiftOutTable,
    32                         uMappingTable  ** aMappingTable,
    33                         uint32_t aMaxLengthFactor,
    34                         nsISupports* aOuter,
    35                         REFNSIID aIID,
    36                         void** aResult);
    38 NS_METHOD
    39 CreateTableEncoder(uScanClassID aScanClass,
    40                    uShiftOutTable * aShiftOutTable,
    41                    uMappingTable  * aMappingTable,
    42                    uint32_t aMaxLengthFactor,
    43                    nsISupports* aOuter,
    44                    REFNSIID aIID,
    45                    void** aResult);
    47 NS_METHOD
    48 CreateMultiTableEncoder(int32_t aTableCount,
    49                         uScanClassID * aScanClassArray,
    50                         uMappingTable  ** aMappingTable,
    51                         uint32_t aMaxLengthFactor,
    52                         nsISupports* aOuter,
    53                         REFNSIID aIID,
    54                         void** aResult);
    56 NS_METHOD
    57 CreateTableEncoder(uScanClassID aScanClass,
    58                    uMappingTable  * aMappingTable,
    59                    uint32_t aMaxLengthFactor,
    60                    nsISupports* aOuter,
    61                    REFNSIID aIID,
    62                    void** aResult);
    64 NS_METHOD
    65 CreateTableDecoder(uScanClassID aScanClass,
    66                    uShiftInTable * aShiftInTable,
    67                    uMappingTable * aMappingTable,
    68                    uint32_t aMaxLengthFactor,
    69                    nsISupports* aOuter,
    70                    REFNSIID aIID,
    71                    void** aResult);
    73 NS_METHOD
    74 CreateOneByteDecoder(uMappingTable * aMappingTable,
    75                      nsISupports* aOuter,
    76                      REFNSIID aIID,
    77                      void** aResult);
    80 #endif

mercurial