Back to index

lightning-sunbird  0.9+nobinonly
Defines | Typedefs | 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 XP_WIN
#define kPromptServiceFactoryFuncName   "NS_NewPromptServiceFactory"
#define kPromptServiceInitFuncName   "InitPromptService"


typedef nsresult(__cdecl * MakeFactoryType )(nsIFactory **)
typedef nsresult(__cdecl * InitPromptServiceType )(HINSTANCE instance)


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

Define Documentation

#define kPromptServiceFactoryFuncName   "NS_NewPromptServiceFactory"

Definition at line 53 of file PromptService.h.

#define kPromptServiceInitFuncName   "InitPromptService"

Definition at line 58 of file PromptService.h.

Definition at line 45 of file PromptService.h.

Typedef Documentation

typedef nsresult(__cdecl * InitPromptServiceType)(HINSTANCE instance)

Definition at line 57 of file PromptService.h.

typedef nsresult(__cdecl * MakeFactoryType)(nsIFactory **)

Definition at line 52 of file PromptService.h.

Function Documentation

Definition at line 454 of file PromptService.cpp.


  gInstance = instance;

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;