home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / support / r3rememb.js < prev   
Encoding:
JavaScript  |  2005-04-04  |  1.8 KB  |  82 lines

  1.  
  2. // JavaScript wrapper for r3rememb.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_REMEMBER_H = 1;
  7. include("oops/r3root.js")
  8.  
  9.  
  10. var R3CLID_REMEMBER = 300;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3REMA_Avail = 300500;
  19. function GetR3REMA_Avail() {
  20.   return R3Get(this.r3obj, R3REMA_Avail, R3TID_INTEGER, 0); 
  21. }
  22.  
  23. R3REMA_Size = 300501;
  24. function SetR3REMA_Size(value) {
  25.   R3Set(this.r3obj, R3REMA_Size, value, R3TID_INTEGER, 0); 
  26. }
  27.  
  28. function GetR3REMA_Size() {
  29.   return R3Get(this.r3obj, R3REMA_Size, R3TID_INTEGER, 0); 
  30. }
  31.  
  32. R3REMA_Limit = 300502;
  33. function SetR3REMA_Limit(value) {
  34.   R3Set(this.r3obj, R3REMA_Limit, value, R3TID_INTEGER, 0); 
  35. }
  36.  
  37. function GetR3REMA_Limit() {
  38.   return R3Get(this.r3obj, R3REMA_Limit, R3TID_INTEGER, 0); 
  39. }
  40.  
  41. R3REMA_Total = 300503;
  42. function SetR3REMA_Total(value) {
  43.   R3Set(this.r3obj, R3REMA_Total, value, R3TID_INTEGER, 0); 
  44. }
  45.  
  46. function GetR3REMA_Total() {
  47.   return R3Get(this.r3obj, R3REMA_Total, R3TID_INTEGER, 0); 
  48. }
  49.  
  50. R3REMA_TotalUsed = 300504;
  51. function GetR3REMA_TotalUsed() {
  52.   return R3Get(this.r3obj, R3REMA_TotalUsed, R3TID_INTEGER, R3TNF_ARRAY); 
  53. }
  54.  
  55. R3REMA_MemKey = 300505;
  56. function GetR3REMA_MemKey() {
  57.   return R3ToJS(R3Get(this.r3obj, R3REMA_MemKey, R3TID_OBJECT, 0)); 
  58. }
  59.  
  60.  
  61.  
  62. function r3Remember () { 
  63.    this.base = r3God;
  64.    if(arguments.length) {
  65.       this.base(R3CLID_REMEMBER, arguments);
  66.    }
  67.    // Methods
  68.  
  69.    // Attributes
  70.    this.GetAvail=GetR3REMA_Avail;
  71.    this.GetSize=GetR3REMA_Size;
  72.    this.SetSize=SetR3REMA_Size;
  73.    this.GetLimit=GetR3REMA_Limit;
  74.    this.SetLimit=SetR3REMA_Limit;
  75.    this.GetTotal=GetR3REMA_Total;
  76.    this.SetTotal=SetR3REMA_Total;
  77.    this.GetTotalUsed=GetR3REMA_TotalUsed;
  78.    this.GetMemKey=GetR3REMA_MemKey;
  79. }
  80.  
  81. r3Remember.prototype=new r3Root;
  82. // r3rememb.h_H