Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsRssIncomingServer.cpp File Reference
#include "nsIRssService.h"
#include "nsRssIncomingServer.h"
#include "nsMsgFolderFlags.h"
#include "nsINewsBlogFeedDownloader.h"
#include "nsIMsgMailSession.h"
#include "nsMsgBaseCID.h"
#include "nsIMsgLocalMailFolder.h"
#include "nsIDBFolderInfo.h"

Go to the source code of this file.

Functions

 NS_IMPL_ISUPPORTS_INHERITED3 (nsRssIncomingServer, nsMsgIncomingServer, nsIRssIncomingServer, nsIFolderListener, nsILocalMailIncomingServer) nsRssIncomingServer

Function Documentation

Definition at line 50 of file nsRssIncomingServer.cpp.

{
  m_canHaveFilters = PR_TRUE;

  if (gInstanceCount == 0) 
  {
    nsresult rv;
    nsCOMPtr<nsIMsgMailSession> mailSession = do_GetService(NS_MSGMAILSESSION_CONTRACTID, &rv); 

    if (NS_SUCCEEDED(rv))
      mailSession->AddFolderListener(this, nsIFolderListener::added);
  }

  gInstanceCount++;
}

Here is the call graph for this function: