Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsAbBSDirectory.cpp File Reference
#include "nsIPrefService.h"
#include "nsAbBSDirectory.h"
#include "nsRDFCID.h"
#include "nsIRDFService.h"
#include "nsDirPrefs.h"
#include "nsAbBaseCID.h"
#include "nsMsgBaseCID.h"
#include "nsIAddressBook.h"
#include "nsAddrDatabase.h"
#include "nsIAddrBookSession.h"
#include "nsIAbMDBDirectory.h"
#include "nsIAbUpgrader.h"
#include "nsIMessengerMigrator.h"
#include "nsAbDirFactoryService.h"
#include "nsAbMDBDirFactory.h"
#include "nsArrayEnumerator.h"

Go to the source code of this file.

Classes

struct  GetDirectories

Functions

PRBool PR_CALLBACK GetDirectories_getDirectory (nsHashKey *aKey, void *aData, void *closure)

Function Documentation

PRBool PR_CALLBACK GetDirectories_getDirectory ( nsHashKey *  aKey,
void aData,
void closure 
)

Definition at line 330 of file nsAbBSDirectory.cpp.

{
       GetDirectories* getDirectories = (GetDirectories* )closure;

       DIR_Server* server = (DIR_Server*) aData;
       if (server == getDirectories->mServer)
       {
                     nsVoidKey* voidKey = (nsVoidKey* )aKey;
                     nsIAbDirectory* directory = (nsIAbDirectory* )voidKey->GetValue ();
                     getDirectories->directories->AppendElement (directory);
       }

       return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function: