Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsObserverService.cpp File Reference
#include "prlog.h"
#include "prlock.h"
#include "nsIFactory.h"
#include "nsIServiceManager.h"
#include "nsIComponentManager.h"
#include "nsIObserverService.h"
#include "nsObserverService.h"
#include "nsObserverList.h"
#include "nsHashtable.h"
#include "nsIWeakReference.h"

Go to the source code of this file.

Defines

#define NS_WEAK_OBSERVERS
#define NOTIFY_GLOBAL_OBSERVERS

Functions

static PRBool PR_CALLBACK ReleaseObserverList (nsHashKey *aKey, void *aData, void *closure)

Define Documentation

Definition at line 51 of file nsObserverService.cpp.

Definition at line 50 of file nsObserverService.cpp.


Function Documentation

static PRBool PR_CALLBACK ReleaseObserverList ( nsHashKey *  aKey,
void aData,
void closure 
) [static]

Definition at line 102 of file nsObserverService.cpp.

{
    nsObserverList* observerList = NS_STATIC_CAST(nsObserverList*, aData);
    delete(observerList);
    return PR_TRUE;
}

Here is the caller graph for this function: