Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsXTFService.cpp File Reference
#include "nsCOMPtr.h"
#include "nsINodeInfo.h"
#include "nsIServiceManager.h"
#include "nsIXTFElement.h"
#include "nsIXTFElementFactory.h"
#include "nsIXTFGenericElement.h"
#include "nsIXTFService.h"
#include "nsIXTFXMLVisual.h"
#include "nsIXTFXULVisual.h"
#include "nsInterfaceHashtable.h"
#include "nsString.h"
#include "nsXTFGenericElementWrapper.h"
#include "nsXTFXMLVisualWrapper.h"
#include "nsXTFXULVisualWrapper.h"
#include "nsIXTFBindableElement.h"
#include "nsXTFBindableElementWrapper.h"

Go to the source code of this file.

Classes

class  nsXTFService

Functions

nsresult NS_NewXTFService (nsIXTFService **aResult)

Function Documentation

Definition at line 90 of file nsXTFService.cpp.

{
  NS_PRECONDITION(aResult != nsnull, "null ptr");
  if (! aResult)
    return NS_ERROR_NULL_POINTER;

  nsXTFService* result = new nsXTFService();
  if (! result)
    return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF(result);
  *aResult = result;
  return NS_OK;
}

Here is the call graph for this function: