scripting
Class CJSFunctionProperty
IJSProperty
|
+--CJSFunctionProperty
in ScriptableObject.h
- class CJSFunctionProperty
- extends IJSProperty
|
Field Summary |
private IJSObject::GetFn |
m_Getter
|
private IJSObject::SetFn |
m_Setter
|
m_Getter
private IJSObject::GetFn m_Getter;
m_Setter
private IJSObject::SetFn m_Setter;
CJSFunctionProperty
public CJSFunctionProperty( IJSObject::GetFn Getter, IJSObject::SetFn Setter );
Get
public jsval Get( JSContext* cx, IJSObject* obj );
Set
public void Set( JSContext* cx, IJSObject* obj, jsval value );