#include "baseobj.h"
#include "browser.h"
#include "scriptvariant.h"
Go to the source code of this file.
typedef OSGK_ScriptResult(* OSGK_CreateObjFunc)(OSGK_ScriptObjectCreateParams *params, void **objTag) |
typedef void(* OSGK_DestroyObjFunc)(void *objTag) |
typedef OSGK_ScriptResult(* OSGK_FunctionCallFunc)(void *objTag, void *methTag, size_t numParams, OSGK_ScriptVariant **params, OSGK_ScriptVariant **returnVal) |
typedef OSGK_ScriptVariant*(* OSGK_GetPropertyFunc)(void *objTag, void *propTag) |
typedef OSGK_ScriptResult(* OSGK_SetPropertyFunc)(void *objTag, void *propTag, OSGK_ScriptVariant *val) |
enum OSGK_ScriptResult |
int osgk_sot_add_function | ( | OSGK_ScriptObjectTemplate * | templ, | |
const char * | funcName, | |||
void * | funcTag, | |||
OSGK_FunctionCallFunc | callFunc | |||
) |
int osgk_sot_add_property | ( | OSGK_ScriptObjectTemplate * | templ, | |
const char * | propName, | |||
void * | propTag, | |||
OSGK_GetPropertyFunc | getter, | |||
OSGK_SetPropertyFunc | setter | |||
) |
OSGK_ScriptObjectTemplate* osgk_sot_create | ( | OSGK_Embedding * | embedding, | |
OSGK_CreateObjFunc | createFunc, | |||
OSGK_DestroyObjFunc | destroyFunc, | |||
void * | createParam | |||
) |
OSGK_ScriptVariant* osgk_sot_instantiate | ( | OSGK_ScriptObjectTemplate * | templ, | |
void ** | objTag | |||
) |
int osgk_sot_register | ( | OSGK_ScriptObjectTemplate * | templ, | |
OSGK_Embedding * | embedding, | |||
const char * | name, | |||
unsigned int | flags | |||
) |