Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Private Attributes
WrappedCLR Class Reference
Collaboration diagram for WrappedCLR:
Collaboration graph

List of all members.

Public Types

typedef int(* MethodInvoker )(int, nsXPTCMiniVariant *)

Public Member Functions

NS_DECL_ISUPPORTS NS_IMETHOD GetInterfaceInfo (nsIInterfaceInfo **aInfo)
NS_IMETHOD CallMethod (PRUint16 methodIndex, const nsXPTMethodInfo *info, nsXPTCMiniVariant *params)
 WrappedCLR (MethodInvoker del, const nsIID &id)
virtual ~WrappedCLR ()

Private Attributes

MethodInvoker mDelegate

Detailed Description

Definition at line 8 of file wrapped-clr.cpp.

Member Typedef Documentation

Definition at line 11 of file wrapped-clr.cpp.

Constructor & Destructor Documentation

WrappedCLR::WrappedCLR ( MethodInvoker  del,
const nsIID id 
) [inline]

Definition at line 18 of file wrapped-clr.cpp.

        mIID(id), mDelegate(del) { }
virtual WrappedCLR::~WrappedCLR ( ) [inline, virtual]

Definition at line 20 of file wrapped-clr.cpp.

{ }

Member Function Documentation

Definition at line 36 of file wrapped-clr.cpp.

    fprintf(stderr, "Calling %s via %p\n", info->GetName(), mDelegate);
    return mDelegate(methodIndex, params);

Here is the call graph for this function:

Definition at line 29 of file wrapped-clr.cpp.

    extern nsIInterfaceInfoManager *infomgr;
    return infomgr->GetInfoForIID(&mIID, info);

Member Data Documentation

Definition at line 23 of file wrapped-clr.cpp.

Definition at line 22 of file wrapped-clr.cpp.

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