home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 56 / CDPowerplay56Disc2.iso / demos / blade / data1.cab / Program_Executable_Files / Lib / BVideo.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2000-10-27  |  2.4 KB  |  61 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 1.5)
  3.  
  4. import BVideoc
  5.  
  6. class B_VideoPtr:
  7.     
  8.     def __init__(self, this):
  9.         self.this = this
  10.         self.thisown = 0
  11.  
  12.     
  13.     def __del__(self):
  14.         if self.thisown == 1:
  15.             BVideoc.delete_B_Video(self.this)
  16.         
  17.  
  18.     
  19.     def SetVideo(self, arg0):
  20.         val = BVideoc.B_Video_SetVideo(self.this, arg0)
  21.         return val
  22.  
  23.     
  24.     def CloseVideo(self):
  25.         val = BVideoc.B_Video_CloseVideo(self.this)
  26.         return val
  27.  
  28.     
  29.     def GetDimension(self):
  30.         val = BVideoc.B_Video_GetDimension(self.this)
  31.         return val
  32.  
  33.     
  34.     def GetLength(self):
  35.         val = BVideoc.B_Video_GetLength(self.this)
  36.         return val
  37.  
  38.     
  39.     def GetData(self, arg0):
  40.         val = BVideoc.B_Video_GetData(self.this, arg0)
  41.         return val
  42.  
  43.     
  44.     def GetName(self):
  45.         val = BVideoc.B_Video_GetName(self.this)
  46.         return val
  47.  
  48.     
  49.     def __repr__(self):
  50.         return '<C B_Video instance>'
  51.  
  52.  
  53.  
  54. class B_Video(B_VideoPtr):
  55.     
  56.     def __init__(self):
  57.         self.this = BVideoc.new_B_Video()
  58.         self.thisown = 1
  59.  
  60.  
  61.