Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
msgMapiSupport.cpp File Reference
#include "nsCOMPtr.h"
#include "objbase.h"
#include "nsISupports.h"
#include "nsIGenericFactory.h"
#include "nsIObserverService.h"
#include "nsIAppStartupNotifier.h"
#include "nsIServiceManager.h"
#include "nsIComponentManager.h"
#include "nsICategoryManager.h"
#include "nsCRT.h"
#include "Registry.h"
#include "msgMapiSupport.h"
#include "nsMapiRegistryUtils.h"
#include "nsMapiRegistry.h"
#include "msgMapiImp.h"

Go to the source code of this file.


static NS_METHOD nsMapiRegistrationProc (nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const char *componentType, const nsModuleComponentInfo *info)
 Implementation of the nsIMapiSupport interface.


static const nsModuleComponentInfo components []

Function Documentation

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

Implementation of the nsIMapiSupport interface.

Use standard implementation of nsISupports stuff.

Definition at line 64 of file msgMapiSupport.cpp.

  nsresult rv;

  nsCOMPtr<nsICategoryManager> categoryManager(do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv));
  if (NS_SUCCEEDED(rv)) 
      rv = categoryManager->AddCategoryEntry(APPSTARTUP_CATEGORY, "Mapi Support", 
                  "service," NS_IMAPISUPPORT_CONTRACTID, PR_TRUE, PR_TRUE, nsnull);
  return rv ;


Here is the call graph for this function:

Variable Documentation