Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsSaveAsCharset.h File Reference
#include "nsIFactory.h"
#include "nsString.h"
#include "nsVoidArray.h"
#include "nsICharsetConverterManager.h"
#include "nsISaveAsCharset.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsSaveAsCharset

Defines

#define MASK_FALLBACK(a)   (nsISaveAsCharset::mask_Fallback & (a))
#define MASK_ENTITY(a)   (nsISaveAsCharset::mask_Entity & (a))
#define MASK_CHARSET_FALLBACK(a)   (nsISaveAsCharset::mask_CharsetFallback & (a))
#define MASK_IGNORABLE_FALLBACK(a)   (nsISaveAsCharset::mask_IgnorableFallback & (a))
#define ATTR_NO_FALLBACK(a)

Functions

nsresult NS_NewSaveAsCharset (nsISupports **inst)

Define Documentation

Value:
(nsISaveAsCharset::attr_FallbackNone == MASK_FALLBACK(a) && \
                             nsISaveAsCharset::attr_EntityAfterCharsetConv != MASK_ENTITY(a))

Definition at line 49 of file nsSaveAsCharset.h.

Definition at line 47 of file nsSaveAsCharset.h.

Definition at line 46 of file nsSaveAsCharset.h.

Definition at line 45 of file nsSaveAsCharset.h.

Definition at line 48 of file nsSaveAsCharset.h.


Function Documentation

nsresult NS_NewSaveAsCharset ( nsISupports **  inst)

Definition at line 406 of file nsSaveAsCharset.cpp.

{
  if(nsnull == inst )
    return NS_ERROR_NULL_POINTER;
  *inst = (nsISupports *) new nsSaveAsCharset;
   if(*inst)
      NS_ADDREF(*inst);
   return (*inst) ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}

Here is the call graph for this function: