nsDogbertProfileMigrator Class Reference

#include <nsDogbertProfileMigrator.h>

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

Public Member Functions

NS_DECL_NSIBROWSERPROFILEMIGRATOR
NS_DECL_ISUPPORTS 
nsDogbertProfileMigrator ()
 
virtual ~nsDogbertProfileMigrator ()
 
- 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 GetHomepage (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult GetImagePref (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 CopyPreferences (PRBool aReplace)
 
nsresult TransformPreferences (const nsAString &aSourcePrefFileName, const nsAString &aTargetPrefFileName)
 
nsresult CopyCookies (PRBool aReplace)
 
nsresult CopyBookmarks (PRBool aReplace)
 
nsresult MigrateDogbertBookmarks ()
 
void GetSourceProfile (const PRUnichar *aProfile)
 
- 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 55 of file nsDogbertProfileMigrator.h.

Constructor & Destructor Documentation

nsDogbertProfileMigrator::nsDogbertProfileMigrator ( )

Definition at line 125 of file nsDogbertProfileMigrator.cpp.

nsDogbertProfileMigrator::~nsDogbertProfileMigrator ( )
virtual

Definition at line 130 of file nsDogbertProfileMigrator.cpp.

Member Function Documentation

nsresult nsDogbertProfileMigrator::CopyBookmarks ( PRBool  aReplace)
protected

Definition at line 624 of file nsDogbertProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsDogbertProfileMigrator::CopyCookies ( PRBool  aReplace)
protected

Definition at line 510 of file nsDogbertProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsDogbertProfileMigrator::CopyPreferences ( PRBool  aReplace)
protected

Definition at line 465 of file nsDogbertProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsDogbertProfileMigrator::GetHomepage ( void *  aTransform,
nsIPrefBranch aBranch 
)
static

Definition at line 484 of file nsDogbertProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsDogbertProfileMigrator::GetImagePref ( void *  aTransform,
nsIPrefBranch aBranch 
)
static

Definition at line 497 of file nsDogbertProfileMigrator.cpp.

void nsDogbertProfileMigrator::GetSourceProfile ( const PRUnichar *  aProfile)
protected

Definition at line 380 of file nsDogbertProfileMigrator.cpp.

nsresult nsDogbertProfileMigrator::MigrateDogbertBookmarks ( )
protected

Definition at line 638 of file nsDogbertProfileMigrator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 431 of file nsDogbertProfileMigrator.cpp.

Here is the caller graph for this function:


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