Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsEncoderDecoderUtils.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nsConverterRegistryInfo

Defines

#define NS_ERROR_UCONV_NOCONV   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_UCONV, 0x01)
#define NS_SUCCESS_USING_FALLBACK_LOCALE   NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_UCONV, 0x02)
#define NS_UNICODEDECODER_NAME   "Charset Decoders"
#define NS_UNICODEENCODER_NAME   "Charset Encoders"
#define NS_DATA_BUNDLE_CATEGORY   "uconv-charset-data"
#define NS_TITLE_BUNDLE_CATEGORY   "uconv-charset-titles"
#define NS_CONVERTER_REGISTRY_START   static const nsConverterRegistryInfo gConverterRegistryInfo[] = {
#define NS_CONVERTER_REGISTRY_END   };
#define NS_IMPL_NSUCONVERTERREGSELF
#define NS_UCONV_REG_UNREG_DECODER(_Charset, _CID)
#define NS_UCONV_REG_UNREG_ENCODER(_Charset, _CID)
#define NS_UCONV_REG_UNREG(_Charset, _DecoderCID, _EncoderCID)

Class Documentation

struct nsConverterRegistryInfo

Definition at line 54 of file nsEncoderDecoderUtils.h.

Collaboration diagram for nsConverterRegistryInfo:
Class Members
const char * charset
nsCID cid
PRBool isEncoder

Define Documentation

Definition at line 63 of file nsEncoderDecoderUtils.h.

#define NS_CONVERTER_REGISTRY_START   static const nsConverterRegistryInfo gConverterRegistryInfo[] = {

Definition at line 60 of file nsEncoderDecoderUtils.h.

#define NS_DATA_BUNDLE_CATEGORY   "uconv-charset-data"

Definition at line 51 of file nsEncoderDecoderUtils.h.

Definition at line 42 of file nsEncoderDecoderUtils.h.

Definition at line 67 of file nsEncoderDecoderUtils.h.

Definition at line 45 of file nsEncoderDecoderUtils.h.

#define NS_TITLE_BUNDLE_CATEGORY   "uconv-charset-titles"

Definition at line 52 of file nsEncoderDecoderUtils.h.

#define NS_UCONV_REG_UNREG (   _Charset,
  _DecoderCID,
  _EncoderCID 
)
Value:
{                                                         \
    PR_FALSE,                                               \
    _Charset,                                               \
    _DecoderCID,                                            \
  },                                                        \
  {                                                         \
    PR_TRUE,                                                \
    _Charset,                                               \
    _EncoderCID,                                            \
  },

Definition at line 152 of file nsEncoderDecoderUtils.h.

#define NS_UCONV_REG_UNREG_DECODER (   _Charset,
  _CID 
)
Value:
{                                                         \
    PR_FALSE,                                                \
    _Charset,                                               \
    _CID,                                                   \
  },

Definition at line 135 of file nsEncoderDecoderUtils.h.

#define NS_UCONV_REG_UNREG_ENCODER (   _Charset,
  _CID 
)
Value:
{                                                         \
    PR_TRUE,                                               \
    _Charset,                                               \
    _CID,                                                   \
  },

Definition at line 142 of file nsEncoderDecoderUtils.h.

#define NS_UNICODEDECODER_NAME   "Charset Decoders"

Definition at line 48 of file nsEncoderDecoderUtils.h.

#define NS_UNICODEENCODER_NAME   "Charset Encoders"

Definition at line 49 of file nsEncoderDecoderUtils.h.