Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsSharedPrefHandler.h File Reference
#include "ipcITransactionService.h"
#include "ipcITransactionObserver.h"
#include "nsCOMPtr.h"
#include "nsString.h"
#include "nsVoidArray.h"
#include "prefapi.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsSharedPrefHandler

Functions

nsresult NS_CreateSharedPrefHandler (nsPrefService *aOwner)
 Global method to create gSharedPrefHandler.

Variables

nsSharedPrefHandlergSharedPrefHandler

Function Documentation

Global method to create gSharedPrefHandler.

Parameters:
aOwner

Definition at line 417 of file nsSharedPrefHandler.cpp.

{
  nsSharedPrefHandler *local = new nsSharedPrefHandler;
  if (!local)
    return NS_ERROR_OUT_OF_MEMORY;
  nsresult rv = local->Init(aOwner);
  if (NS_FAILED(rv)) {
    delete local;
    return rv;
  }
  NS_ADDREF(gSharedPrefHandler = local);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 58 of file nsSharedPrefHandler.cpp.