explain what these nsISupportsArrays have in them

This commit is contained in:
alecf%netscape.com 1999-07-01 06:15:06 +00:00
Родитель dc1ba6945d
Коммит dcd3ff6626
2 изменённых файлов: 18 добавлений и 6 удалений

Просмотреть файл

@ -38,7 +38,9 @@ interface nsIMsgAccount : nsISupports {
/* incoming server stuff */
attribute nsIMsgIncomingServer incomingServer;
/* outgoing identity list */
/* outgoing identity list
* array of nsIMsgIdentity's
*/
readonly attribute nsISupportsArray identities;
/* the default identity for this account. */

Просмотреть файл

@ -43,17 +43,23 @@ interface nsIMsgAccountManager : nsISupports {
* account already in the account manager */
attribute nsIMsgAccount defaultAccount;
/* ordered list of all accounts */
/* ordered list of all accounts
* array of nsIMsgAccount
*/
readonly attribute nsISupportsArray accounts;
/* Each account will have a unique key, which should not change
* for the life of the account. */
string getAccountKey(in nsIMsgAccount account);
/* list of all identities in all accounts */
/* list of all identities in all accounts
* array of nsIMsgIdentity
*/
readonly attribute nsISupportsArray allIdentities;
/* list of all servers in all accounts */
/* list of all servers in all accounts
* array of nsIMsgIncomingServer
*/
readonly attribute nsISupportsArray allServers;
/* given the preferences key for an identity, find the identity in the
@ -68,11 +74,15 @@ interface nsIMsgAccountManager : nsISupports {
nsIMsgIncomingServer
FindServer(in string userName, in string hostname, in string type);
/* given a server, return all identities in accounts that have this server */
/* given a server, return all identities in accounts that have this server
* returns an array of nsIMsgIdentity
*/
nsISupportsArray GetIdentitiesForServer(in nsIMsgIncomingServer server);
/* given an identity, return all servers in accounts that have
* this identity */
* this identity
* returns an array of nsIMsgIncomingServer
*/
nsISupportsArray GetServersForIdentity(in nsIMsgIdentity identity);
/* load accounts kicks off the creation of all accounts. You do not need