Back to index

lightning-sunbird  0.9+nobinonly
Defines | Typedefs | Functions
HelperAppService.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.

Defines

#define XP_WIN
#define kHelperAppDlgFactoryFuncName   "NS_NewHelperAppDlgFactory"
#define kHelperAppDlgInitFuncName   "InitHelperAppDlg"

Typedefs

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

Functions

NS_EXPORT nsresult NS_NewHelperAppDlgFactory (nsIFactory **aFactory)
NS_EXPORT void InitHelperAppDlg (HINSTANCE instance)

Define Documentation

#define kHelperAppDlgFactoryFuncName   "NS_NewHelperAppDlgFactory"

Definition at line 47 of file HelperAppService.h.

#define kHelperAppDlgInitFuncName   "InitHelperAppDlg"

Definition at line 52 of file HelperAppService.h.

Definition at line 39 of file HelperAppService.h.


Typedef Documentation

typedef nsresult(__cdecl * InitHelperAppDlgType)(HINSTANCE instance)

Definition at line 51 of file HelperAppService.h.

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

Definition at line 46 of file HelperAppService.h.


Function Documentation

Definition at line 101 of file HelperAppDlg.cpp.

{
  gInstance = instance;
}

Definition at line 106 of file HelperAppDlg.cpp.

{
  NS_ENSURE_ARG_POINTER(aFactory);
  *aFactory = nsnull;
  
  CHelperAppLauncherDialogFactory *result = new CHelperAppLauncherDialogFactory;
  if (!result)
    return NS_ERROR_OUT_OF_MEMORY;
    
  NS_ADDREF(result);
  *aFactory = result;
  
  return NS_OK;
}

Here is the call graph for this function: