Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
PromptService.cpp File Reference
#include "PromptService.h"
#include "nsCOMPtr.h"
#include "nsMemory.h"
#include "nsString.h"
#include "nsReadableUtils.h"
#include "nsIDOMWindow.h"
#include "nsIEmbeddingSiteWindow.h"
#include "nsIFactory.h"
#include "nsIPromptService.h"
#include "nsPIPromptService.h"
#include "nsIServiceManager.h"
#include "nsIWebBrowserChrome.h"
#include "nsIWindowWatcher.h"
#include "PtMozilla.h"

Go to the source code of this file.

Classes

class  CPromptService
class  CPromptServiceFactory

Functions

void InitPromptService ()
nsresult NS_NewPromptServiceFactory (nsIFactory **aFactory)

Function Documentation

Definition at line 461 of file PromptService.cpp.

                          {
}

Definition at line 464 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 call graph for this function: