Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsPagePrintTimer.cpp File Reference
#include "nsPagePrintTimer.h"
#include "nsPrintEngine.h"
#include "nsIContentViewer.h"
#include "nsIServiceManager.h"

Go to the source code of this file.

Functions

nsresult NS_NewPagePrintTimer (nsPagePrintTimer **aResult)

Function Documentation

Definition at line 150 of file nsPagePrintTimer.cpp.

{

  NS_PRECONDITION(aResult, "null param");

  nsPagePrintTimer* result = new nsPagePrintTimer;

  if (!result) {
    *aResult = nsnull;
    return NS_ERROR_OUT_OF_MEMORY;
  }

  NS_ADDREF(result);
  *aResult = result;

  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: