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 / code / r3thumbn.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  3.0 KB  |  123 lines

  1.  
  2. // JavaScript wrapper for r3thumbn.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_THUMBNAIL_H = 1;
  7. include("oops/r3model.js")
  8.  
  9.  
  10. var R3CLID_THUMBNAIL = 1731;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3THNA_UserName = 1731500;
  19. function SetR3THNA_UserName(value) {
  20.   R3Set(this.r3obj, R3THNA_UserName, value, R3TID_STRING, 0); 
  21. }
  22.  
  23. function GetR3THNA_UserName() {
  24.   return R3Get(this.r3obj, R3THNA_UserName, R3TID_STRING, 0); 
  25. }
  26.  
  27. R3THNA_Company = 1731501;
  28. function SetR3THNA_Company(value) {
  29.   R3Set(this.r3obj, R3THNA_Company, value, R3TID_STRING, 0); 
  30. }
  31.  
  32. function GetR3THNA_Company() {
  33.   return R3Get(this.r3obj, R3THNA_Company, R3TID_STRING, 0); 
  34. }
  35.  
  36. R3THNA_Comment = 1731502;
  37. function SetR3THNA_Comment(value) {
  38.   R3Set(this.r3obj, R3THNA_Comment, value, R3TID_STRING, 0); 
  39. }
  40.  
  41. function GetR3THNA_Comment() {
  42.   return R3Get(this.r3obj, R3THNA_Comment, R3TID_STRING, 0); 
  43. }
  44.  
  45. R3THNA_TimeStamp = 1731503;
  46. function SetR3THNA_TimeStamp(value) {
  47.   R3Set(this.r3obj, R3THNA_TimeStamp, value, R3TID_INTEGER, 0); 
  48. }
  49.  
  50. function GetR3THNA_TimeStamp() {
  51.   return R3Get(this.r3obj, R3THNA_TimeStamp, R3TID_INTEGER, 0); 
  52. }
  53.  
  54. R3THNA_Image = 1731504;
  55. function SetR3THNA_Image(value) {
  56.   R3Set(this.r3obj, R3THNA_Image, value, R3TID_OBJECT, 0); 
  57. }
  58.  
  59. function GetR3THNA_Image() {
  60.   return R3ToJS(R3Get(this.r3obj, R3THNA_Image, R3TID_OBJECT, 0)); 
  61. }
  62.  
  63. R3THNA_FramesPerSecond = 1731505;
  64. function SetR3THNA_FramesPerSecond(value) {
  65.   R3Set(this.r3obj, R3THNA_FramesPerSecond, value, R3TID_INTEGER, 0); 
  66. }
  67.  
  68. function GetR3THNA_FramesPerSecond() {
  69.   return R3Get(this.r3obj, R3THNA_FramesPerSecond, R3TID_INTEGER, 0); 
  70. }
  71.  
  72. R3THNA_FrameCount = 1731506;
  73. function SetR3THNA_FrameCount(value) {
  74.   R3Set(this.r3obj, R3THNA_FrameCount, value, R3TID_INTEGER, 0); 
  75. }
  76.  
  77. function GetR3THNA_FrameCount() {
  78.   return R3Get(this.r3obj, R3THNA_FrameCount, R3TID_INTEGER, 0); 
  79. }
  80.  
  81. R3THNA_Sections = 1731507;
  82. function SetR3THNA_Sections(value) {
  83.   R3Set(this.r3obj, R3THNA_Sections, value, R3TID_INTEGER, 0); 
  84. }
  85.  
  86. function GetR3THNA_Sections() {
  87.   return R3Get(this.r3obj, R3THNA_Sections, R3TID_INTEGER, 0); 
  88. }
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95. function r3Thumbnail () { 
  96.    this.base = r3God;
  97.    if(arguments.length) {
  98.       this.base(R3CLID_THUMBNAIL, arguments);
  99.    }
  100.    // Methods
  101.  
  102.    // Attributes
  103.    this.GetUserName=GetR3THNA_UserName;
  104.    this.SetUserName=SetR3THNA_UserName;
  105.    this.GetCompany=GetR3THNA_Company;
  106.    this.SetCompany=SetR3THNA_Company;
  107.    this.GetComment=GetR3THNA_Comment;
  108.    this.SetComment=SetR3THNA_Comment;
  109.    this.GetTimeStamp=GetR3THNA_TimeStamp;
  110.    this.SetTimeStamp=SetR3THNA_TimeStamp;
  111.    this.GetImage=GetR3THNA_Image;
  112.    this.SetImage=SetR3THNA_Image;
  113.    this.GetFramesPerSecond=GetR3THNA_FramesPerSecond;
  114.    this.SetFramesPerSecond=SetR3THNA_FramesPerSecond;
  115.    this.GetFrameCount=GetR3THNA_FrameCount;
  116.    this.SetFrameCount=SetR3THNA_FrameCount;
  117.    this.GetSections=GetR3THNA_Sections;
  118.    this.SetSections=SetR3THNA_Sections;
  119.    // Attributes
  120. }
  121.  
  122. r3Thumbnail.prototype=new r3Model;
  123. // r3thumbn.h_H