Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIMailProfileMigrator Interface Reference

import "nsIMailProfileMigrator.idl";

Inheritance diagram for nsIMailProfileMigrator:
Inheritance graph
[legend]
Collaboration diagram for nsIMailProfileMigrator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void migrate (in unsigned short aItems, in nsIProfileStartup aStartup, in wstring aProfile)
 Copy user profile information to the current active profile.
unsigned short getMigrateData (in wstring aProfile, in boolean aDoingStartup)
 A bit field containing profile items that this migrator offers for import.

Public Attributes

const unsigned short ALL = 0x0000
 profile items to migrate.
const unsigned short SETTINGS = 0x0001
const unsigned short ACCOUNT_SETTINGS = 0x0002
const unsigned short ADDRESSBOOK_DATA = 0x0004
const unsigned short JUNKTRAINING = 0x0008
const unsigned short PASSWORDS = 0x0010
const unsigned short OTHERDATA = 0x0020
const unsigned short NEWSDATA = 0x0040
const unsigned short MAILDATA = 0x0080
readonly attribute boolean sourceExists
 Whether or not there is any data that can be imported from this browser (i.e.
readonly attribute boolean sourceHasMultipleProfiles
 Whether or not the import source implementing this interface has multiple user profiles configured.
readonly attribute nsISupportsArray sourceProfiles
 An enumeration of available profiles.

Detailed Description

Definition at line 43 of file nsIMailProfileMigrator.idl.


Member Function Documentation

unsigned short nsIMailProfileMigrator::getMigrateData ( in wstring  aProfile,
in boolean  aDoingStartup 
)

A bit field containing profile items that this migrator offers for import.

Parameters:
aProfilethe profile that we are looking for available data to import
aStarting"true" if the profile is not currently being used.
Returns:
bit field containing profile items (see above)
void nsIMailProfileMigrator::migrate ( in unsigned short  aItems,
in nsIProfileStartup  aStartup,
in wstring  aProfile 
)

Copy user profile information to the current active profile.

Parameters:
aItemslist of data items to migrate. see above for values.
aReplacereplace or append current data where applicable.
aProfileprofile to migrate from, if there is more than one.

Member Data Documentation

Definition at line 50 of file nsIMailProfileMigrator.idl.

Definition at line 51 of file nsIMailProfileMigrator.idl.

const unsigned short nsIMailProfileMigrator::ALL = 0x0000

profile items to migrate.

use with migrate().

Definition at line 48 of file nsIMailProfileMigrator.idl.

Definition at line 52 of file nsIMailProfileMigrator.idl.

const unsigned short nsIMailProfileMigrator::MAILDATA = 0x0080

Definition at line 56 of file nsIMailProfileMigrator.idl.

const unsigned short nsIMailProfileMigrator::NEWSDATA = 0x0040

Definition at line 55 of file nsIMailProfileMigrator.idl.

const unsigned short nsIMailProfileMigrator::OTHERDATA = 0x0020

Definition at line 54 of file nsIMailProfileMigrator.idl.

const unsigned short nsIMailProfileMigrator::PASSWORDS = 0x0010

Definition at line 53 of file nsIMailProfileMigrator.idl.

const unsigned short nsIMailProfileMigrator::SETTINGS = 0x0001

Definition at line 49 of file nsIMailProfileMigrator.idl.

Whether or not there is any data that can be imported from this browser (i.e.

whether or not it is installed, and there exists a user profile)

Definition at line 81 of file nsIMailProfileMigrator.idl.

Whether or not the import source implementing this interface has multiple user profiles configured.

Definition at line 87 of file nsIMailProfileMigrator.idl.

An enumeration of available profiles.

If the import source does not support profiles, this attribute is null.

Definition at line 93 of file nsIMailProfileMigrator.idl.


The documentation for this interface was generated from the following file: