Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
PromptService.cpp File Reference
#include "StdAfx.h"
#include "MozillaBrowser.h"
#include "PromptService.h"
#include "nsCOMPtr.h"
#include "nsIPromptService.h"
#include "nsIFactory.h"
#include "nsIDOMWindow.h"
#include "nsReadableUtils.h"

Go to the source code of this file.

Classes

class  PromptDlg
class  CPromptService
class  CPromptServiceFactory

Functions

nsresult NS_NewPromptServiceFactory (nsIFactory **aFactory)

Function Documentation

Definition at line 887 of file PromptService.cpp.

{
    NS_ENSURE_ARG_POINTER(aFactory);
    *aFactory = nsnull;

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

    NS_ADDREF(result);
    *aFactory = result;

    return NS_OK;
}

Here is the caller graph for this function: