TOC PREV NEXT INDEX

Embedding Gecko API


nsISupportsWeakReference


This interface provides access to a factory which produces appropriate instances of nsIWeakReference. Weak references in this scheme can only be produced for objects that implement this interface. This interface is scriptable.

See also: nsIWeakReference

Methods
GetWeakReference

Returns an appropriate instance of nsIWeakReference.The caller owns the resulting interface and should manage it with an nsCOMPtr.

Syntax:

nsIWeakReference nsISupportsWeakReference::GetWeakReference()  

Parameters:

None.

nsresult:

NS_OK if successful.

Written by:Ellen Evans | Comments, questions, complaints? Bug 143387
TOC PREV NEXT INDEX