Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
PromptService.h File Reference
#include "nsError.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define kPromptServiceFactoryFuncName   "NS_NewPromptServiceFactory"
#define kPromptServiceInitFuncName   "InitPromptService"


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

Define Documentation

#define kPromptServiceFactoryFuncName   "NS_NewPromptServiceFactory"

Definition at line 46 of file PromptService.h.

#define kPromptServiceInitFuncName   "InitPromptService"

Definition at line 49 of file PromptService.h.

Function Documentation

Definition at line 461 of file PromptService.cpp.


Definition at line 887 of file PromptService.cpp.

    *aFactory = nsnull;

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

    *aFactory = result;

    return NS_OK;