Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsNetscapeProfileMigratorBase.cpp File Reference
#include "nsAppDirectoryServiceDefs.h"
#include "nsCRT.h"
#include "nsIFile.h"
#include "nsIInputStream.h"
#include "nsILineInputStream.h"
#include "nsInt64.h"
#include "nsIPrefBranch.h"
#include "nsIPrefLocalizedString.h"
#include "nsIPrefService.h"
#include "nsIRDFService.h"
#include "nsIRegistry.h"
#include "nsIServiceManager.h"
#include "nsISupportsArray.h"
#include "nsISupportsPrimitives.h"
#include "nsIURL.h"
#include "nsNetscapeProfileMigratorBase.h"
#include "nsNetUtil.h"
#include "nsReadableUtils.h"
#include "nsXPIDLString.h"
#include "prtime.h"
#include "prprf.h"
#include "nsVoidArray.h"

Go to the source code of this file.

Defines

#define MIGRATION_BUNDLE   "chrome://messenger/locale/migration/migration.properties"
#define FILE_NAME_PREFS_5X   NS_LITERAL_STRING("prefs.js")
#define GETPREF(xform, method, value)
#define SETPREF(xform, method, value)

Functions

static NS_DEFINE_CID (kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID)

Define Documentation

Definition at line 66 of file nsNetscapeProfileMigratorBase.cpp.

#define GETPREF (   xform,
  method,
  value 
)
Value:
nsresult rv = aBranch->method(xform->sourcePrefName, value); \
  if (NS_SUCCEEDED(rv)) \
    xform->prefHasValue = PR_TRUE; \
  return rv;

Definition at line 152 of file nsNetscapeProfileMigratorBase.cpp.

#define MIGRATION_BUNDLE   "chrome://messenger/locale/migration/migration.properties"

Definition at line 64 of file nsNetscapeProfileMigratorBase.cpp.

#define SETPREF (   xform,
  method,
  value 
)
Value:
if (xform->prefHasValue) { \
    return aBranch->method(xform->targetPrefName ? xform->targetPrefName : xform->sourcePrefName, value); \
  } \
  return NS_OK;

Definition at line 158 of file nsNetscapeProfileMigratorBase.cpp.


Function Documentation

static NS_DEFINE_CID ( kStringBundleServiceCID  ,
NS_STRINGBUNDLESERVICE_CID   
) [static]