Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsAccessProxyRegistration.cpp File Reference
#include "nsIGenericFactory.h"
#include "nsAccessProxy.h"
#include "nsIServiceManager.h"
#include "nsIRegistry.h"
#include "prprf.h"
#include "nsCRT.h"
#include "nsICategoryManager.h"

Go to the source code of this file.


static NS_METHOD nsAccessProxyRegistrationProc (nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const char *componentType, const nsModuleComponentInfo *info)
static void PR_CALLBACK AccessProxyModuleDtor (nsIModule *self)


static const nsModuleComponentInfo components []

Function Documentation

static void PR_CALLBACK AccessProxyModuleDtor ( nsIModule self) [static]

Definition at line 76 of file nsAccessProxyRegistration.cpp.

Here is the call graph for this function:

static NS_METHOD nsAccessProxyRegistrationProc ( nsIComponentManager aCompMgr,
nsIFile aPath,
const char *  registryLocation,
const char *  componentType,
const nsModuleComponentInfo info 
) [static]

Definition at line 57 of file nsAccessProxyRegistration.cpp.

  // This function performs the extra step of installing us as
  // an application component. This makes sure that we're
  // initialized on application startup.

  nsresult rv;
  nsCOMPtr<nsICategoryManager> categoryManager(do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv));
  if (NS_SUCCEEDED(rv)) 
    rv = categoryManager->AddCategoryEntry(APPSTARTUP_CATEGORY, "Access Proxy", 
      "service," NS_ACCESSPROXY_CONTRACTID, PR_TRUE, PR_TRUE, nsnull);
  return rv;

Here is the call graph for this function:

Variable Documentation

Initial value:
    nsAccessProxyConstructor, nsAccessProxyRegistrationProc,

Definition at line 81 of file nsAccessProxyRegistration.cpp.