Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
JavaXPCOMInstance Class Reference

#include <nsJavaXPCOMBindingUtils.h>

Collaboration diagram for JavaXPCOMInstance:
Collaboration graph

List of all members.

Public Member Functions

 JavaXPCOMInstance (nsISupports *aInstance, nsIInterfaceInfo *aIInfo)
 ~JavaXPCOMInstance ()
nsISupports * GetInstance ()
nsIInterfaceInfoInterfaceInfo ()

Private Attributes

nsISupports * mInstance

Detailed Description

Definition at line 143 of file nsJavaXPCOMBindingUtils.h.

Constructor & Destructor Documentation

JavaXPCOMInstance::JavaXPCOMInstance ( nsISupports *  aInstance,
nsIInterfaceInfo aIInfo 

Definition at line 782 of file nsJavaXPCOMBindingUtils.cpp.

    : mInstance(aInstance)
    , mIInfo(aIInfo)

Here is the call graph for this function:

Definition at line 791 of file nsJavaXPCOMBindingUtils.cpp.

  // Need to release these objects on the main thread.
  nsCOMPtr<nsIEventQueue> eventQ;
  nsresult rv = NS_GetMainEventQ(getter_AddRefs(eventQ));
  if (NS_SUCCEEDED(rv)) {
    rv = NS_ProxyRelease(eventQ, mInstance);
    rv += NS_ProxyRelease(eventQ, mIInfo);
  NS_ASSERTION(NS_SUCCEEDED(rv), "Failed to release using NS_ProxyRelease");

Here is the call graph for this function:

Member Function Documentation

nsISupports* JavaXPCOMInstance::GetInstance ( ) [inline]

Definition at line 149 of file nsJavaXPCOMBindingUtils.h.

{ return mInstance; }

Here is the caller graph for this function:

Definition at line 150 of file nsJavaXPCOMBindingUtils.h.

{ return mIInfo; }

Here is the caller graph for this function:

Member Data Documentation

Definition at line 154 of file nsJavaXPCOMBindingUtils.h.

nsISupports* JavaXPCOMInstance::mInstance [private]

Definition at line 153 of file nsJavaXPCOMBindingUtils.h.

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