public { #include #include "entity.h" }; native { /* * Javascript binding for Entity * Copyright (c) 2000 Ian Main * * Authors: Brian Bassett * Ian Main */ /* * This renderer is free software; please see the LICENSE file for * specific information as to licensing conditions. */ /* * $Source: /home/cvs/entity/renderers/javascript/ENodeAttrib.jsi,v $ * $Id: ENodeAttrib.jsi,v 1.1 2000/07/19 08:02:23 imain Exp $ */ }; package Entity; class ENodeAttrib { native ENode *enode; new (string basename) { js_instance->enode = enode (enode_call_reference(), basename); enode_ref (js_instance->enode); }; };