nsSeamonkeyProfileMigrator Class Reference

#include <nsSeamonkeyProfileMigrator.h>

Inheritance diagram for nsSeamonkeyProfileMigrator:
[legend]
Collaboration diagram for nsSeamonkeyProfileMigrator:
[legend]

Public Member Functions

NS_DECL_NSIBROWSERPROFILEMIGRATOR
NS_DECL_ISUPPORTS 
nsSeamonkeyProfileMigrator ()
 
virtual ~nsSeamonkeyProfileMigrator ()
 
- Public Member Functions inherited from nsNetscapeProfileMigratorBase
 nsNetscapeProfileMigratorBase ()
 
virtual ~nsNetscapeProfileMigratorBase ()
 
- Public Member Functions inherited from nsIBrowserProfileMigrator
void migrate (in unsigned short aItems, in nsIProfileStartup aStartup, in wstring aProfile)
 
unsigned short getMigrateData (in wstring aProfile, in boolean aDoingStartup)
 

Static Public Member Functions

static nsresult SetImage (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult SetCookie (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult SetDownloadManager (void *aTransform, nsIPrefBranch *aBranch)
 
- Static Public Member Functions inherited from nsNetscapeProfileMigratorBase
static nsresult GetString (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult SetString (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult GetWString (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult SetWString (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult SetWStringFromASCII (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult GetBool (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult SetBool (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult GetInt (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult SetInt (void *aTransform, nsIPrefBranch *aBranch)
 

Protected Member Functions

nsresult FillProfileDataFromSeamonkeyRegistry ()
 
nsresult GetSourceProfile (const PRUnichar *aProfile)
 
nsresult CopyPreferences (PRBool aReplace)
 
nsresult TransformPreferences (const nsAString &aSourcePrefFileName, const nsAString &aTargetPrefFileName)
 
void ReadFontsBranch (nsIPrefService *aPrefService, nsTArray< FontPref > *aPrefs)
 
void WriteFontsBranch (nsIPrefService *aPrefService, nsTArray< FontPref > *aPrefs)
 
nsresult CopyUserContentSheet ()
 
nsresult CopyCookies (PRBool aReplace)
 
nsresult CopyHistory (PRBool aReplace)
 
nsresult CopyPasswords (PRBool aReplace)
 
nsresult LocateSignonsFile (char **aResult)
 
nsresult CopyBookmarks (PRBool aReplace)
 
nsresult CopyOtherData (PRBool aReplace)
 
- Protected Member Functions inherited from nsNetscapeProfileMigratorBase
nsresult GetProfileDataFromRegistry (nsILocalFile *aRegistryFile, nsISupportsArray *aProfileNames, nsISupportsArray *aProfileLocations)
 
nsresult CopyFile (const nsAString &aSourceFileName, const nsAString &aTargetFileName)
 
nsresult ImportNetscapeBookmarks (const nsAString &aBookmarksFileName, const PRUnichar *aImportSourceNameKey)
 
nsresult ImportNetscapeCookies (nsIFile *aCookiesFile)
 
nsresult GetSignonFileName (PRBool aReplace, char **aFileName)
 
nsresult LocateSignonsFile (char **aResult)
 

Additional Inherited Members

- Public Types inherited from nsNetscapeProfileMigratorBase
typedef nsresult(* prefConverter )(void *, nsIPrefBranch *)
 
- Public Attributes inherited from nsIBrowserProfileMigrator
const unsigned short ALL = 0x0000
 
const unsigned short SETTINGS = 0x0001
 
const unsigned short COOKIES = 0x0002
 
const unsigned short HISTORY = 0x0004
 
const unsigned short FORMDATA = 0x0008
 
const unsigned short PASSWORDS = 0x0010
 
const unsigned short BOOKMARKS = 0x0020
 
const unsigned short OTHERDATA = 0x0040
 
readonly attribute boolean sourceExists
 
readonly attribute boolean sourceHasMultipleProfiles
 
readonly attribute nsISupportsArray sourceProfiles
 
readonly attribute AUTF8String sourceHomePageURL
 
- Protected Attributes inherited from nsNetscapeProfileMigratorBase
nsCOMPtr< nsILocalFile > mSourceProfile
 
nsCOMPtr< nsIFile > mTargetProfile
 

Detailed Description

Definition at line 64 of file nsSeamonkeyProfileMigrator.h.

Constructor & Destructor Documentation

nsSeamonkeyProfileMigrator::nsSeamonkeyProfileMigrator ( )

Definition at line 74 of file nsSeamonkeyProfileMigrator.cpp.

nsSeamonkeyProfileMigrator::~nsSeamonkeyProfileMigrator ( )
virtual

Definition at line 79 of file nsSeamonkeyProfileMigrator.cpp.

Member Function Documentation

nsresult nsSeamonkeyProfileMigrator::CopyBookmarks ( PRBool  aReplace)
protected

Definition at line 714 of file nsSeamonkeyProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsSeamonkeyProfileMigrator::CopyCookies ( PRBool  aReplace)
protected

Definition at line 640 of file nsSeamonkeyProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsSeamonkeyProfileMigrator::CopyHistory ( PRBool  aReplace)
protected

Definition at line 656 of file nsSeamonkeyProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsSeamonkeyProfileMigrator::CopyOtherData ( PRBool  aReplace)
protected

Definition at line 738 of file nsSeamonkeyProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsSeamonkeyProfileMigrator::CopyPasswords ( PRBool  aReplace)
protected

Definition at line 662 of file nsSeamonkeyProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsSeamonkeyProfileMigrator::CopyPreferences ( PRBool  aReplace)
protected

Definition at line 591 of file nsSeamonkeyProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsSeamonkeyProfileMigrator::CopyUserContentSheet ( )
protected

Definition at line 613 of file nsSeamonkeyProfileMigrator.cpp.

Here is the caller graph for this function:

nsresult nsSeamonkeyProfileMigrator::FillProfileDataFromSeamonkeyRegistry ( )
protected

Definition at line 305 of file nsSeamonkeyProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsSeamonkeyProfileMigrator::GetSourceProfile ( const PRUnichar *  aProfile)
protected

Definition at line 284 of file nsSeamonkeyProfileMigrator.cpp.

nsresult nsSeamonkeyProfileMigrator::LocateSignonsFile ( char **  aResult)
protected
void nsSeamonkeyProfileMigrator::ReadFontsBranch ( nsIPrefService *  aPrefService,
nsTArray< FontPref > *  aPrefs 
)
protected

Definition at line 503 of file nsSeamonkeyProfileMigrator.cpp.

Here is the caller graph for this function:

nsresult nsSeamonkeyProfileMigrator::SetCookie ( void *  aTransform,
nsIPrefBranch aBranch 
)
static

Definition at line 426 of file nsSeamonkeyProfileMigrator.cpp.

nsresult nsSeamonkeyProfileMigrator::SetDownloadManager ( void *  aTransform,
nsIPrefBranch aBranch 
)
static

Definition at line 438 of file nsSeamonkeyProfileMigrator.cpp.

nsresult nsSeamonkeyProfileMigrator::SetImage ( void *  aTransform,
nsIPrefBranch aBranch 
)
static

Definition at line 414 of file nsSeamonkeyProfileMigrator.cpp.

nsresult nsSeamonkeyProfileMigrator::TransformPreferences ( const nsAString &  aSourcePrefFileName,
const nsAString &  aTargetPrefFileName 
)
protected

Definition at line 461 of file nsSeamonkeyProfileMigrator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void nsSeamonkeyProfileMigrator::WriteFontsBranch ( nsIPrefService *  aPrefService,
nsTArray< FontPref > *  aPrefs 
)
protected

Definition at line 551 of file nsSeamonkeyProfileMigrator.cpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: