Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsContentUtils.h File Reference
#include "jspubtd.h"
#include "nsAString.h"
#include "nsIDOMScriptObjectFactory.h"
#include "nsIJSContextStack.h"
#include "nsIScriptContext.h"
#include "nsCOMArray.h"
#include "nsIStatefulFrame.h"
#include "nsIPref.h"
#include "nsINodeInfo.h"
#include "nsNodeInfoManager.h"
#include "nsContentList.h"
#include "nsVoidArray.h"

Go to the source code of this file.

Classes

class  nsContentUtils
class  nsCxPusher
class  nsAutoGCRoot

Defines

#define NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO(_class)
#define NS_INTERFACE_MAP_ENTRY_TEAROFF(_interface, _allocator)

Define Documentation

Value:
if (aIID.Equals(NS_GET_IID(nsIClassInfo))) {                                \
    foundInterface =                                                          \
      nsContentUtils::GetClassInfoInstance(eDOMClassInfo_##_class##_id);      \
    if (!foundInterface) {                                                    \
      *aInstancePtr = nsnull;                                                 \
      return NS_ERROR_OUT_OF_MEMORY;                                          \
    }                                                                         \
  } else

Definition at line 754 of file nsContentUtils.h.

#define NS_INTERFACE_MAP_ENTRY_TEAROFF (   _interface,
  _allocator 
)
Value:
if (aIID.Equals(NS_GET_IID(_interface))) {                                  \
    foundInterface = NS_STATIC_CAST(_interface *, _allocator);                \
    if (!foundInterface) {                                                    \
      *aInstancePtr = nsnull;                                                 \
      return NS_ERROR_OUT_OF_MEMORY;                                          \
    }                                                                         \
  } else

Definition at line 764 of file nsContentUtils.h.