38 #ifndef netscapeprofilemigratorbase___h___
39 #define netscapeprofilemigratorbase___h___
41 #include "nsILocalFile.h"
42 #include "nsIStringBundle.h"
43 #include "nsISupportsArray.h"
44 #include "nsStringAPI.h"
83 nsISupportsArray* aProfileNames,
84 nsISupportsArray* aProfileLocations);
86 nsresult
CopyFile(
const nsAString& aSourceFileName,
const nsAString& aTargetFileName);
89 const PRUnichar* aImportSourceNameKey);
nsresult CopyFile(const nsAString &aSourceFileName, const nsAString &aTargetFileName)
nsresult ImportNetscapeBookmarks(const nsAString &aBookmarksFileName, const PRUnichar *aImportSourceNameKey)
static nsresult SetInt(void *aTransform, nsIPrefBranch *aBranch)
static nsresult GetInt(void *aTransform, nsIPrefBranch *aBranch)
static nsresult SetWString(void *aTransform, nsIPrefBranch *aBranch)
nsCOMPtr< nsIFile > mTargetProfile
nsresult GetProfileDataFromRegistry(nsILocalFile *aRegistryFile, nsISupportsArray *aProfileNames, nsISupportsArray *aProfileLocations)
nsresult(* prefConverter)(void *, nsIPrefBranch *)
static nsresult GetWString(void *aTransform, nsIPrefBranch *aBranch)
static nsresult GetBool(void *aTransform, nsIPrefBranch *aBranch)
nsresult LocateSignonsFile(char **aResult)
static nsresult SetWStringFromASCII(void *aTransform, nsIPrefBranch *aBranch)
static nsresult SetString(void *aTransform, nsIPrefBranch *aBranch)
static nsresult SetBool(void *aTransform, nsIPrefBranch *aBranch)
static nsresult GetString(void *aTransform, nsIPrefBranch *aBranch)
nsNetscapeProfileMigratorBase()
virtual ~nsNetscapeProfileMigratorBase()
nsresult ImportNetscapeCookies(nsIFile *aCookiesFile)
nsCOMPtr< nsILocalFile > mSourceProfile
nsresult GetSignonFileName(PRBool aReplace, char **aFileName)