#include <TclXPCOMPrivate.h>
Public Methods | |
TclXPCOMStub (nsIInterfaceInfo *interfaceinfo) | |
~TclXPCOMStub (void) | |
NS_IMETHOD | QueryInterface (REFNSIID aIID, void **aInstancePtr) |
NS_IMETHOD_ (nsrefcnt) AddRef(void) | |
NS_IMETHOD_ (nsrefcnt) Release(void) | |
NS_IMETHOD | GetInterfaceInfo (nsIInterfaceInfo **info) |
NS_IMETHOD | CallMethod (PRUint16 methodIndex, const nsXPTMethodInfo *info, nsXPTCMiniVariant *params) |
void | SetBinding (PRUint16 methodindex, Tcl_Obj *script) |
void | UnsetBinding (PRUint16 methodindex) |
Tcl_Obj * | GetBinding (PRUint16 methodindex) |
Public Attributes | |
nsIInterfaceInfo * | info |
pointer to the Interface information. More... | |
TclXPCOMComponent * | component |
pointer to the component information. More... | |
Tcl_Obj ** | bindings |
script bindings to interface method. More... |
|
Creates a new TclXPCOM interface stub object.
Definition at line 45 of file TclXPCOMStub.cpp. |
|
Deletes this TclXPCOM interface stub object. Definition at line 72 of file TclXPCOMStub.cpp. References bindings, info, and UnsetBinding. |
|
Processes the QueryInterface method for this interface stub.
Definition at line 206 of file TclXPCOMStub.cpp. References bindings, TclXPCOMComponent::cinfo, component, info, ClassInfoSignature::infocount, TclXPCOMComponent::interp, isInInterface, TclXPCOMComponent::nesting, nsisupportsweakreference_iid, ClassInfo_::signature, TclXPCOMComponent::stubs, TclXPCOM_CallMethod, and TclXPCOMComponent::thread. |
|
|
|
|
|
Retrieves the interface info pointer for this interface stub.
Definition at line 151 of file TclXPCOMStub.cpp. References info. |
|
Executes a binding on this interface stub.
Definition at line 169 of file TclXPCOMStub.cpp. References bindings, component, info, TclXPCOMComponent::interp, TclXPCOM_CallMethod, and TclXPCOMComponent::thread. |
|
Sets an attribute/method binding for this interface stub. If a binding already exists for the given attribute/method, then that binding will be released.
Definition at line 98 of file TclXPCOMStub.cpp. References bindings, and UnsetBinding. Referenced by BindScript. |
|
Removes an attibute/method binding from this interface stub.
Definition at line 119 of file TclXPCOMStub.cpp. References bindings. Referenced by SetBinding, and ~TclXPCOMStub. |
|
Retrieves an attribute/method binding from this interface stub.
Definition at line 137 of file TclXPCOMStub.cpp. References bindings. |
|
pointer to the Interface information.
Definition at line 222 of file TclXPCOMPrivate.h. Referenced by CallMethod, GetInterfaceInfo, QueryInterface, TclXPCOMStub, and ~TclXPCOMStub. |
|
pointer to the component information.
Definition at line 223 of file TclXPCOMPrivate.h. Referenced by CallMethod, NewTclXPCOMComponent, and QueryInterface. |
|
script bindings to interface method.
Definition at line 224 of file TclXPCOMPrivate.h. Referenced by CallMethod, GetBinding, QueryInterface, SetBinding, TclXPCOMStub, UnsetBinding, and ~TclXPCOMStub. |