kjsembed
KJSEmbed::StaticBinding Class Reference
A binding method that is used in VariantBinding and ObjectBinding. More...
#include <static_binding.h>
Inheritance diagram for KJSEmbed::StaticBinding:

Public Member Functions | |
KJS::JSValue * | callAsFunction (KJS::ExecState *exec, KJS::JSObject *self, const KJS::List &args) |
bool | implementsConstruct () const |
StaticBinding (KJS::ExecState *exec, const Method *method) | |
Static Public Member Functions | |
static void | publish (KJS::ExecState *exec, KJS::JSObject *object, const Method *methods) |
Protected Attributes | |
const Method * | m_method |
Detailed Description
A binding method that is used in VariantBinding and ObjectBinding.Definition at line 39 of file static_binding.h.
Constructor & Destructor Documentation
StaticBinding::StaticBinding | ( | KJS::ExecState * | exec, | |
const Method * | method | |||
) |
Member Function Documentation
KJS::JSValue * StaticBinding::callAsFunction | ( | KJS::ExecState * | exec, | |
KJS::JSObject * | self, | |||
const KJS::List & | args | |||
) |
bool KJSEmbed::StaticBinding::implementsConstruct | ( | ) | const [inline] |
Definition at line 50 of file static_binding.h.
void StaticBinding::publish | ( | KJS::ExecState * | exec, | |
KJS::JSObject * | object, | |||
const Method * | methods | |||
) | [static] |
Publishes an array of Methods to an object.
You should only ever need this method to add methods to a binding.
- object - the object to add the methods to
- methods - an array of Method objects.
Definition at line 60 of file static_binding.cpp.
Member Data Documentation
const Method* KJSEmbed::StaticBinding::m_method [protected] |
Definition at line 61 of file static_binding.h.
The documentation for this class was generated from the following files: