home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3cnslng.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_CNSLNG_H = 1;
- include("plugins/objects/constraint/r3constr.js")
-
-
- var R3CLID_CNSLNG = 1427;
-
-
-
-
- // Description: Execute constraint procedure.
- // Virtual method
-
- R3CNSLNGM_EXECUTE = 1427000;
-
- function mR3CNSLNGM_EXECUTE() {
- DoA(this.r3obj, 1427000, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Call the target object's
- // Virtual method
- // Returns: Boolean, true if succeeded
-
- R3CNSLNGM_UPDATETARGET = 1427001;
-
- function mR3CNSLNGM_UPDATETARGET() {
- return DoA(this.r3obj, 1427001, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Allocate interpreter used for executing the constraint program.
- // Virtual method
- // Returns: Object, interpreter
-
- R3CNSLNGM_ALLOCINTERP = 1427002;
-
- function mR3CNSLNGM_ALLOCINTERP() {
- return R3ToJS( DoA(this.r3obj, 1427002, 0, R3TID_INTEGER, 0));
- }
-
- // Description: Find interpreter of given type
- // Virtual method
- // Returns: Object, null if no interpreter was found.
- // p3: Integer, interpreter to be found
-
- R3CNSLNGM_FINDINTERP = 1427003;
-
- function mR3CNSLNGM_FINDINTERP(p3) {
- return R3ToJS( DoA(this.r3obj, 1427003, p3, R3TID_INTEGER, 0));
- }
-
- // Description: Derived classes must provide information about the actual interpreter class to be used.
- // Virtual method
- // Returns: Integer, interpreter class to be used.
-
- R3CNSLNGM_GETINTERPCLID = 1427004;
-
- function mR3CNSLNGM_GETINTERPCLID() {
- return DoA(this.r3obj, 1427004, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3CNSLNGA_Script = 1427500;
- function SetR3CNSLNGA_Script(value) {
- R3Set(this.r3obj, R3CNSLNGA_Script, value, R3TID_STRING, 0);
- }
-
- function GetR3CNSLNGA_Script() {
- return R3Get(this.r3obj, R3CNSLNGA_Script, R3TID_STRING, 0);
- }
-
- R3CNSLNGA_ScriptClid = 1427501;
- function SetR3CNSLNGA_ScriptClid(value) {
- R3Set(this.r3obj, R3CNSLNGA_ScriptClid, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CNSLNGA_ScriptClid() {
- return R3Get(this.r3obj, R3CNSLNGA_ScriptClid, R3TID_INTEGER, 0);
- }
-
- R3CNSLNGA_ScriptObj = 1427502;
- function SetR3CNSLNGA_ScriptObj(value) {
- R3Set(this.r3obj, R3CNSLNGA_ScriptObj, value, R3TID_OBJECT, 0);
- }
-
- function GetR3CNSLNGA_ScriptObj() {
- return R3ToJS(R3Get(this.r3obj, R3CNSLNGA_ScriptObj, R3TID_OBJECT, 0));
- }
-
-
-
- function r3Cnslng () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_CNSLNG, arguments);
- }
- // Methods
- this.EXECUTE=mR3CNSLNGM_EXECUTE;
- this.UPDATETARGET=mR3CNSLNGM_UPDATETARGET;
- this.ALLOCINTERP=mR3CNSLNGM_ALLOCINTERP;
- this.FINDINTERP=mR3CNSLNGM_FINDINTERP;
- this.GETINTERPCLID=mR3CNSLNGM_GETINTERPCLID;
-
- // Attributes
- this.GetScript=GetR3CNSLNGA_Script;
- this.SetScript=SetR3CNSLNGA_Script;
- this.GetScriptClid=GetR3CNSLNGA_ScriptClid;
- this.SetScriptClid=SetR3CNSLNGA_ScriptClid;
- this.GetScriptObj=GetR3CNSLNGA_ScriptObj;
- this.SetScriptObj=SetR3CNSLNGA_ScriptObj;
- }
-
- r3Cnslng.prototype=new r3Constraint;
- // r3cnslng.h_H