Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Member Functions
nsIMAPHostSessionList Class Reference

#include <nsIMAPHostSessionList.h>

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

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIOBSERVER 
nsIMAPHostSessionList ()
virtual ~nsIMAPHostSessionList ()
nsresult Init ()
NS_IMETHOD AddHostToList (const char *serverKey, nsIImapIncomingServer *server)
NS_IMETHOD ResetAll ()
NS_IMETHOD GetCapabilityForHost (const char *serverKey, PRUint32 &result)
NS_IMETHOD SetCapabilityForHost (const char *serverKey, PRUint32 capability)
NS_IMETHOD GetHostHasAdminURL (const char *serverKey, PRBool &result)
NS_IMETHOD SetHostHasAdminURL (const char *serverKey, PRBool hasAdminUrl)
NS_IMETHOD GetHostIsUsingSubscription (const char *serverKey, PRBool &result)
NS_IMETHOD SetHostIsUsingSubscription (const char *serverKey, PRBool usingSubscription)
NS_IMETHOD GetPasswordForHost (const char *serverKey, nsString &result)
NS_IMETHOD SetPasswordForHost (const char *serverKey, const char *password)
NS_IMETHOD GetPasswordVerifiedOnline (const char *serverKey, PRBool &result)
NS_IMETHOD SetPasswordVerifiedOnline (const char *serverKey)
NS_IMETHOD GetOnlineDirForHost (const char *serverKey, nsString &result)
NS_IMETHOD SetOnlineDirForHost (const char *serverKey, const char *onlineDir)
NS_IMETHOD GetDeleteIsMoveToTrashForHost (const char *serverKey, PRBool &result)
NS_IMETHOD SetDeleteIsMoveToTrashForHost (const char *serverKey, PRBool isMoveToTrash)
NS_IMETHOD GetShowDeletedMessagesForHost (const char *serverKey, PRBool &result)
NS_IMETHOD SetShowDeletedMessagesForHost (const char *serverKey, PRBool showDeletedMessages)
NS_IMETHOD GetGotNamespacesForHost (const char *serverKey, PRBool &result)
NS_IMETHOD SetGotNamespacesForHost (const char *serverKey, PRBool gotNamespaces)
NS_IMETHOD SetHaveWeEverDiscoveredFoldersForHost (const char *serverKey, PRBool discovered)
NS_IMETHOD GetHaveWeEverDiscoveredFoldersForHost (const char *serverKey, PRBool &result)
NS_IMETHOD SetOnlineTrashFolderExistsForHost (const char *serverKey, PRBool exists)
NS_IMETHOD GetOnlineTrashFolderExistsForHost (const char *serverKey, PRBool &result)
NS_IMETHOD GetOnlineInboxPathForHost (const char *serverKey, nsString &result)
NS_IMETHOD GetShouldAlwaysListInboxForHost (const char *serverKey, PRBool &result)
NS_IMETHOD SetShouldAlwaysListInboxForHost (const char *serverKey, PRBool shouldList)
NS_IMETHOD GetNamespaceForMailboxForHost (const char *serverKey, const char *mailbox_name, nsIMAPNamespace *&result)
NS_IMETHOD SetNamespaceFromPrefForHost (const char *serverKey, const char *namespacePref, EIMAPNamespaceType type)
NS_IMETHOD AddNewNamespaceForHost (const char *serverKey, nsIMAPNamespace *ns)
NS_IMETHOD ClearServerAdvertisedNamespacesForHost (const char *serverKey)
NS_IMETHOD ClearPrefsNamespacesForHost (const char *serverKey)
NS_IMETHOD GetDefaultNamespaceOfTypeForHost (const char *serverKey, EIMAPNamespaceType type, nsIMAPNamespace *&result)
NS_IMETHOD SetNamespacesOverridableForHost (const char *serverKey, PRBool overridable)
NS_IMETHOD GetNamespacesOverridableForHost (const char *serverKey, PRBool &result)
NS_IMETHOD GetNumberOfNamespacesForHost (const char *serverKey, PRUint32 &result)
NS_IMETHOD GetNamespaceNumberForHost (const char *serverKey, PRInt32 n, nsIMAPNamespace *&result)
NS_IMETHOD CommitNamespacesForHost (nsIImapIncomingServer *host)
NS_IMETHOD FlushUncommittedNamespacesForHost (const char *serverKey, PRBool &result)
NS_IMETHOD SetNamespaceHierarchyDelimiterFromMailboxForHost (const char *serverKey, const char *boxName, char delimiter)
NS_IMETHOD AddShellToCacheForHost (const char *serverKey, nsIMAPBodyShell *shell)
NS_IMETHOD FindShellInCacheForHost (const char *serverKey, const char *mailboxName, const char *UID, IMAP_ContentModifiedType modType, nsIMAPBodyShell **result)
void observe (in nsISupports aSubject, in string aTopic, in wstring aData)
 Observe will be called when there is a notification for the topic |aTopic|.

Public Attributes

PRMonitorgCachedHostInfoMonitor
nsIMAPHostInfofHostInfoList

Protected Member Functions

nsresult SetNamespacesPrefForHost (nsIImapIncomingServer *aHost, EIMAPNamespaceType type, char *pref)
nsIMAPHostInfoFindHost (const char *serverKey)

Detailed Description

Definition at line 80 of file nsIMAPHostSessionList.h.


Constructor & Destructor Documentation

Definition at line 106 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:


Member Function Documentation

NS_IMETHODIMP nsIMAPHostSessionList::AddHostToList ( const char *  serverKey,
nsIImapIncomingServer server 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 171 of file nsIMAPHostSessionList.cpp.

{
  nsIMAPHostInfo *newHost=NULL;
  PR_EnterMonitor(gCachedHostInfoMonitor);
  if (!FindHost(serverKey))
  {
    // stick it on the front
    newHost = new nsIMAPHostInfo(serverKey, server);
    if (newHost)
    {
      newHost->fNextHost = fHostInfoList;
      fHostInfoList = newHost;
    }
  }
  PR_ExitMonitor(gCachedHostInfoMonitor);
  return (newHost == NULL) ? NS_ERROR_ILLEGAL_VALUE : NS_OK;
}

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 430 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 746 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 488 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 501 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 588 of file nsIMAPHostSessionList.cpp.

{
  char * serverKey = nsnull;
  
  if (!aHost)
    return NS_ERROR_NULL_POINTER;
  
  nsCOMPtr <nsIMsgIncomingServer> incomingServer = do_QueryInterface(aHost);
  if (!incomingServer)
    return NS_ERROR_NULL_POINTER;
  
  nsresult rv = incomingServer->GetKey(&serverKey);
  if (NS_FAILED(rv)) return rv;
  
  PR_EnterMonitor(gCachedHostInfoMonitor);
  nsIMAPHostInfo *host = FindHost(serverKey);
  if (host)
  {
    host->fGotNamespaces = PR_TRUE;       // so we only issue NAMESPACE once per host per session.
    EIMAPNamespaceType type = kPersonalNamespace;
    for (int i = 1; i <= 3; i++)
    {
      switch(i)
      {
      case 1:
        type = kPersonalNamespace;
        break;
      case 2:
        type = kPublicNamespace;
        break;
      case 3:
        type = kOtherUsersNamespace;
        break;
      default:
        type = kPersonalNamespace;
        break;
      }
      
      int32 numInNS = host->fNamespaceList->GetNumberOfNamespaces(type);
      if (numInNS == 0)
      {
        SetNamespacesPrefForHost(aHost, type, NULL);
      }
      else if (numInNS >= 1)
      {
        char *pref = PR_smprintf("");
        for (int count = 1; count <= numInNS; count++)
        {
          nsIMAPNamespace *ns = host->fNamespaceList->GetNamespaceNumber(count, type);
          if (ns)
          {
            if (count > 1)
            {
              // append the comma
              char *tempPref = PR_smprintf("%s,",pref);
              PR_FREEIF(pref);
              pref = tempPref;
            }
            char *tempPref = PR_smprintf("%s\"%s\"",pref,ns->GetPrefix());
            PR_FREEIF(pref);
            pref = tempPref;
          }
        }
        if (pref)
        {
          SetNamespacesPrefForHost(aHost, type, pref);
          PR_Free(pref);
        }
      }
    }
    // clear, but don't delete the entries in, the temp namespace list
    host->fTempNamespaceList->ClearNamespaces(PR_TRUE, PR_TRUE, PR_FALSE);
    
    // Now reset all of libmsg's namespace references.
    // Did I mention this needs to be running in the mozilla thread?
    aHost->ResetNamespaceReferences();
  }
  PR_FREEIF(serverKey);
  PR_ExitMonitor(gCachedHostInfoMonitor);
  return (host == NULL) ? NS_ERROR_ILLEGAL_VALUE : NS_OK;
}

Here is the call graph for this function:

nsIMAPHostInfo * nsIMAPHostSessionList::FindHost ( const char *  serverKey) [protected]

Definition at line 142 of file nsIMAPHostSessionList.cpp.

{
  nsIMAPHostInfo *host;
  
  // ### should also check userName here, if NON NULL
  for (host = fHostInfoList; host; host = host->fNextHost)
  {
    if (!PL_strcasecmp(serverKey, host->fServerKey)) 
      return host;
  }
  return host;
}

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::FindShellInCacheForHost ( const char *  serverKey,
const char *  mailboxName,
const char *  UID,
IMAP_ContentModifiedType  modType,
nsIMAPBodyShell **  result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 768 of file nsIMAPHostSessionList.cpp.

{
       nsCString uidString(UID);

       PR_EnterMonitor(gCachedHostInfoMonitor);
       nsIMAPHostInfo *host = FindHost(serverKey);
       if (host)
       {
              if (host->fShellCache)
                     *shell = host->fShellCache->FindShellForUID(uidString, mailboxName, modType);
       }
       PR_ExitMonitor(gCachedHostInfoMonitor);
       return (host == NULL) ? NS_ERROR_ILLEGAL_VALUE : NS_OK;
}

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 670 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetCapabilityForHost ( const char *  serverKey,
PRUint32 result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 190 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 513 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetDeleteIsMoveToTrashForHost ( const char *  serverKey,
PRBool result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 281 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetGotNamespacesForHost ( const char *  serverKey,
PRBool result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 325 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 389 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetHostHasAdminURL ( const char *  serverKey,
PRBool result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 368 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetHostIsUsingSubscription ( const char *  serverKey,
PRBool result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 348 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetNamespaceForMailboxForHost ( const char *  serverKey,
const char *  mailbox_name,
nsIMAPNamespace *&  result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 475 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetNamespaceNumberForHost ( const char *  serverKey,
PRInt32  n,
nsIMAPNamespace *&  result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 561 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetNamespacesOverridableForHost ( const char *  serverKey,
PRBool result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 525 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetNumberOfNamespacesForHost ( const char *  serverKey,
PRUint32 result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 545 of file nsIMAPHostSessionList.cpp.

{
  PRInt32 intResult = 0;
  
  PR_EnterMonitor(gCachedHostInfoMonitor);
  nsIMAPHostInfo *host = FindHost(serverKey);
  if (host)
  {
    intResult = host->fNamespaceList->GetNumberOfNamespaces();
  }
  PR_ExitMonitor(gCachedHostInfoMonitor);
  NS_ASSERTION(intResult >= 0, "negative number of namespaces");
  result = (PRUint32) intResult;
  return (host == NULL) ? NS_ERROR_ILLEGAL_VALUE : NS_OK;
}

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetOnlineDirForHost ( const char *  serverKey,
nsString result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 255 of file nsIMAPHostSessionList.cpp.

{
  PR_EnterMonitor(gCachedHostInfoMonitor);
  nsIMAPHostInfo *host = FindHost(serverKey);
  if (host)
    result.AssignWithConversion(host->fOnlineDir);
  PR_ExitMonitor(gCachedHostInfoMonitor);
  return (host == NULL) ? NS_ERROR_ILLEGAL_VALUE : NS_OK;
}

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetOnlineInboxPathForHost ( const char *  serverKey,
nsString result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 684 of file nsIMAPHostSessionList.cpp.

{
  PR_EnterMonitor(gCachedHostInfoMonitor);
  nsIMAPHostInfo *host = FindHost(serverKey);
  if (host)
  {
    nsIMAPNamespace *ns = NULL;
    ns = host->fNamespaceList->GetDefaultNamespaceOfType(kPersonalNamespace);
    if (ns)
    {
      result.AssignWithConversion(ns->GetPrefix());
      result.AppendLiteral("INBOX");
    }
  }
  else
  {
    result.SetLength(0);
  }
  PR_ExitMonitor(gCachedHostInfoMonitor);
  return (host == NULL) ? NS_ERROR_ILLEGAL_VALUE : NS_OK;
}

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 419 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetPasswordForHost ( const char *  serverKey,
nsString result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 210 of file nsIMAPHostSessionList.cpp.

{
  PR_EnterMonitor(gCachedHostInfoMonitor);
  nsIMAPHostInfo *host = FindHost(serverKey);
  if (host)
    result.AssignWithConversion(host->fCachedPassword);
  PR_ExitMonitor(gCachedHostInfoMonitor);
  return (host == NULL) ? NS_ERROR_ILLEGAL_VALUE : NS_OK;
}

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetPasswordVerifiedOnline ( const char *  serverKey,
PRBool result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 244 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::GetShouldAlwaysListInboxForHost ( const char *  serverKey,
PRBool result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 706 of file nsIMAPHostSessionList.cpp.

{
       result = PR_TRUE;

       /*
       PR_EnterMonitor(gCachedHostInfoMonitor);
       nsIMAPHostInfo *host = FindHost(serverKey);
       if (host)
              ret = host->fShouldAlwaysListInbox;
       PR_ExitMonitor(gCachedHostInfoMonitor);
       */
       return NS_OK;
}
NS_IMETHODIMP nsIMAPHostSessionList::GetShowDeletedMessagesForHost ( const char *  serverKey,
PRBool result 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 292 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

Definition at line 112 of file nsIMAPHostSessionList.cpp.

{
  nsresult rv;
  nsCOMPtr<nsIObserverService> observerService = do_GetService("@mozilla.org/observer-service;1", &rv);
  if (NS_SUCCEEDED(rv))
  {
    observerService->AddObserver(this, "profile-before-change", PR_TRUE);
    observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, PR_TRUE);
  }
  return rv;
}

Here is the call graph for this function:

void nsIObserver::observe ( in nsISupports  aSubject,
in string  aTopic,
in wstring  aData 
) [inherited]

Observe will be called when there is a notification for the topic |aTopic|.

This assumes that the object implementing this interface has been registered with an observer service such as the nsIObserverService.

If you expect multiple topics/subjects, the impl is responsible for filtering.

You should not modify, add, remove, or enumerate notifications in the implemention of observe.

Parameters:
aSubject: Notification specific interface pointer.
aTopic: The notification topic or subject.
aData: Notification specific wide string. subject event.

Implements nsIImapHostSessionList.

Definition at line 156 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetCapabilityForHost ( const char *  serverKey,
PRUint32  capability 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 200 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetDeleteIsMoveToTrashForHost ( const char *  serverKey,
PRBool  isMoveToTrash 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 303 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetGotNamespacesForHost ( const char *  serverKey,
PRBool  gotNamespaces 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 336 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 399 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetHostHasAdminURL ( const char *  serverKey,
PRBool  hasAdminUrl 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 378 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetHostIsUsingSubscription ( const char *  serverKey,
PRBool  usingSubscription 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 358 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetNamespaceFromPrefForHost ( const char *  serverKey,
const char *  namespacePref,
EIMAPNamespaceType  type 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 442 of file nsIMAPHostSessionList.cpp.

{
  PR_EnterMonitor(gCachedHostInfoMonitor);
  nsIMAPHostInfo *host = FindHost(serverKey);
  if (host)
  {
    if (namespacePref)
    {
      int numNamespaces = host->fNamespaceList->UnserializeNamespaces(namespacePref, nsnull, 0);
      char **prefixes = (char**) PR_CALLOC(numNamespaces * sizeof(char*));
      if (prefixes)
      {
        int len = host->fNamespaceList->UnserializeNamespaces(namespacePref, prefixes, numNamespaces);
        for (int i = 0; i < len; i++)
        {
          char *thisns = prefixes[i];
          char delimiter = '/';    // a guess
          if (PL_strlen(thisns) >= 1)
            delimiter = thisns[PL_strlen(thisns)-1];
          nsIMAPNamespace *ns = new nsIMAPNamespace(nstype, thisns, delimiter, PR_TRUE);
          if (ns)
            host->fNamespaceList->AddNewNamespace(ns);
          PR_FREEIF(thisns);
        }
        PR_Free(prefixes);
      }
    }
  }
  PR_ExitMonitor(gCachedHostInfoMonitor);
  return (host == NULL) ? NS_ERROR_ILLEGAL_VALUE : NS_OK;
}

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetNamespaceHierarchyDelimiterFromMailboxForHost ( const char *  serverKey,
const char *  boxName,
char  delimiter 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 730 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetNamespacesOverridableForHost ( const char *  serverKey,
PRBool  overridable 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 535 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

Definition at line 573 of file nsIMAPHostSessionList.cpp.

{
  if (type == kPersonalNamespace)
    aHost->SetPersonalNamespace(pref);
  else if (type == kPublicNamespace)
    aHost->SetPublicNamespace(pref);
  else if (type == kOtherUsersNamespace)
    aHost->SetOtherUsersNamespace(pref);
  else
    NS_ASSERTION(PR_FALSE, "bogus namespace type");
  return NS_OK;
  
}

Here is the caller graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetOnlineDirForHost ( const char *  serverKey,
const char *  onlineDir 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 266 of file nsIMAPHostSessionList.cpp.

{
  PR_EnterMonitor(gCachedHostInfoMonitor);
  nsIMAPHostInfo *host = FindHost(serverKey);
  if (host)
  {
    PR_FREEIF(host->fOnlineDir);
    if (onlineDir)
      host->fOnlineDir = nsCRT::strdup(onlineDir);
  }
  PR_ExitMonitor(gCachedHostInfoMonitor);
  return (host == NULL) ? NS_ERROR_ILLEGAL_VALUE : NS_OK;
}

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 409 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetPasswordForHost ( const char *  serverKey,
const char *  password 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 220 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

Implements nsIImapHostSessionList.

Definition at line 234 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetShouldAlwaysListInboxForHost ( const char *  serverKey,
PRBool  shouldList 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 720 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:

NS_IMETHODIMP nsIMAPHostSessionList::SetShowDeletedMessagesForHost ( const char *  serverKey,
PRBool  showDeletedMessages 
) [virtual]

Implements nsIImapHostSessionList.

Definition at line 314 of file nsIMAPHostSessionList.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 162 of file nsIMAPHostSessionList.h.

Definition at line 161 of file nsIMAPHostSessionList.h.


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