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

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 1.5)
  3.  
  4. import BInputc
  5.  
  6. class B_InputListenerPtr:
  7.     
  8.     def __init__(self, this):
  9.         self.this = this
  10.         self.thisown = 0
  11.  
  12.     
  13.     def SetPythonFunc(self, arg0):
  14.         val = BInputc.B_InputListener_SetPythonFunc(self.this, arg0)
  15.         return val
  16.  
  17.     
  18.     def EventCallback(self, arg0, arg1, arg2):
  19.         val = BInputc.B_InputListener_EventCallback(self.this, arg0, arg1, arg2)
  20.         return val
  21.  
  22.     
  23.     def __str__(self):
  24.         val = BInputc.B_InputListener___str__(self.this)
  25.         return val
  26.  
  27.     
  28.     def __repr__(self):
  29.         return '<C B_InputListener instance>'
  30.  
  31.  
  32.  
  33. class B_InputListener(B_InputListenerPtr):
  34.     
  35.     def __init__(self, arg0):
  36.         self.this = BInputc.new_B_InputListener(arg0)
  37.         self.thisown = 1
  38.  
  39.  
  40.  
  41. class B_InputDevicePtr:
  42.     
  43.     def __init__(self, this):
  44.         self.this = this
  45.         self.thisown = 0
  46.  
  47.     
  48.     def AddListener(self, arg0):
  49.         val = BInputc.B_InputDevice_AddListener(self.this, arg0.this)
  50.         return val
  51.  
  52.     
  53.     def RemoveListener(self, arg0):
  54.         val = BInputc.B_InputDevice_RemoveListener(self.this, arg0)
  55.         return val
  56.  
  57.     
  58.     def nListeners(self):
  59.         val = BInputc.B_InputDevice_nListeners(self.this)
  60.         return val
  61.  
  62.     
  63.     def IsBinded(self, arg0, *args):
  64.         val = apply(BInputc.B_InputDevice_IsBinded, (self.this, arg0) + args)
  65.         return val
  66.  
  67.     
  68.     def __str__(self):
  69.         val = BInputc.B_InputDevice___str__(self.this)
  70.         return val
  71.  
  72.     
  73.     def __repr__(self):
  74.         return '<C B_InputDevice instance>'
  75.  
  76.  
  77.  
  78. class B_InputDevice(B_InputDevicePtr):
  79.     
  80.     def __init__(self, this):
  81.         self.this = this
  82.  
  83.  
  84.  
  85. class B_nInputEventPtr:
  86.     
  87.     def __init__(self, this):
  88.         self.this = this
  89.         self.thisown = 0
  90.  
  91.     
  92.     def GetPress(self):
  93.         val = BInputc.B_nInputEvent_GetPress(self.this)
  94.         return val
  95.  
  96.     
  97.     def GetDevice(self):
  98.         val = BInputc.B_nInputEvent_GetDevice(self.this)
  99.         return val
  100.  
  101.     
  102.     def GetKey(self):
  103.         val = BInputc.B_nInputEvent_GetKey(self.this)
  104.         return val
  105.  
  106.     
  107.     def __repr__(self):
  108.         return '<C B_nInputEvent instance>'
  109.  
  110.  
  111.  
  112. class B_nInputEvent(B_nInputEventPtr):
  113.     
  114.     def __init__(self, this):
  115.         self.this = this
  116.  
  117.  
  118.  
  119. class B_InputActionPtr:
  120.     
  121.     def __init__(self, this):
  122.         self.this = this
  123.         self.thisown = 0
  124.  
  125.     
  126.     def __str__(self):
  127.         val = BInputc.B_InputAction___str__(self.this)
  128.         return val
  129.  
  130.     
  131.     def Name(self):
  132.         val = BInputc.B_InputAction_Name(self.this)
  133.         return val
  134.  
  135.     
  136.     def IsConst(self):
  137.         val = BInputc.B_InputAction_IsConst(self.this)
  138.         return val
  139.  
  140.     
  141.     def nInputEvents(self):
  142.         val = BInputc.B_InputAction_nInputEvents(self.this)
  143.         return val
  144.  
  145.     
  146.     def nProcs(self):
  147.         val = BInputc.B_InputAction_nProcs(self.this)
  148.         return val
  149.  
  150.     
  151.     def AddEvent(self, arg0, arg1, arg2):
  152.         val = BInputc.B_InputAction_AddEvent(self.this, arg0.this, arg1, arg2)
  153.         return val
  154.  
  155.     
  156.     def GetnInputEvent(self, *args):
  157.         val = apply(BInputc.B_InputAction_GetnInputEvent, (self.this,) + args)
  158.         val = B_nInputEventPtr(val)
  159.         return val
  160.  
  161.     
  162.     def GetTimeActivated(self):
  163.         val = BInputc.B_InputAction_GetTimeActivated(self.this)
  164.         return val
  165.  
  166.     
  167.     def CurrentlyActivated(self):
  168.         val = BInputc.B_InputAction_CurrentlyActivated(self.this)
  169.         return val
  170.  
  171.     
  172.     def RemoveEvent(self, arg0, arg1, arg2):
  173.         val = BInputc.B_InputAction_RemoveEvent(self.this, arg0.this, arg1, arg2)
  174.         return val
  175.  
  176.     
  177.     def RemoveAllEvents(self):
  178.         val = BInputc.B_InputAction_RemoveAllEvents(self.this)
  179.         return val
  180.  
  181.     
  182.     def RemoveAllProcs(self):
  183.         val = BInputc.B_InputAction_RemoveAllProcs(self.this)
  184.         return val
  185.  
  186.     
  187.     def __repr__(self):
  188.         return '<C B_InputAction instance>'
  189.  
  190.  
  191.  
  192. class B_InputAction(B_InputActionPtr):
  193.     
  194.     def __init__(self, this):
  195.         self.this = this
  196.  
  197.  
  198.  
  199. class B_InputActionsPtr:
  200.     
  201.     def __init__(self, this):
  202.         self.this = this
  203.         self.thisown = 0
  204.  
  205.     
  206.     def nElements(self):
  207.         val = BInputc.B_InputActions_nElements(self.this)
  208.         return val
  209.  
  210.     
  211.     def GetAction(self, arg0):
  212.         val = BInputc.B_InputActions_GetAction(self.this, arg0)
  213.         val = B_InputActionPtr(val)
  214.         return val
  215.  
  216.     
  217.     def Find(self, arg0):
  218.         val = BInputc.B_InputActions_Find(self.this, arg0)
  219.         val = B_InputActionPtr(val)
  220.         return val
  221.  
  222.     
  223.     def RemoveAction(self, arg0):
  224.         val = BInputc.B_InputActions_RemoveAction(self.this, arg0)
  225.         return val
  226.  
  227.     
  228.     def __str__(self):
  229.         val = BInputc.B_InputActions___str__(self.this)
  230.         return val
  231.  
  232.     
  233.     def __repr__(self):
  234.         return '<C B_InputActions instance>'
  235.  
  236.  
  237.  
  238. class B_InputActions(B_InputActionsPtr):
  239.     
  240.     def __init__(self, this):
  241.         self.this = this
  242.  
  243.  
  244.  
  245. class B_InputManagerPtr:
  246.     
  247.     def __init__(self, this):
  248.         self.this = this
  249.         self.thisown = 0
  250.  
  251.     
  252.     def __del__(self):
  253.         if self.thisown == 1:
  254.             BInputc.delete_B_InputManager(self.this)
  255.         
  256.  
  257.     
  258.     def GetTimeActionHeld(self, arg0, arg1):
  259.         val = BInputc.B_InputManager_GetTimeActionHeld(self.this, arg0, arg1)
  260.         return val
  261.  
  262.     
  263.     def AddInputAction(self, arg0, arg1):
  264.         val = BInputc.B_InputManager_AddInputAction(self.this, arg0, arg1)
  265.         return val
  266.  
  267.     
  268.     def AssocKey(self, arg0, arg1, arg2, arg3):
  269.         val = BInputc.B_InputManager_AssocKey(self.this, arg0, arg1, arg2, arg3)
  270.         return val
  271.  
  272.     
  273.     def Bind2(self, arg0, arg1, arg2, arg3):
  274.         val = BInputc.B_InputManager_Bind2(self.this, arg0, arg1, arg2, arg3)
  275.         return val
  276.  
  277.     
  278.     def GetInputActions(self):
  279.         val = BInputc.B_InputManager_GetInputActions(self.this)
  280.         val = B_InputActionsPtr(val)
  281.         return val
  282.  
  283.     
  284.     def GetAttachedDevice(self, arg0):
  285.         val = BInputc.B_InputManager_GetAttachedDevice(self.this, arg0)
  286.         val = B_InputDevicePtr(val)
  287.         return val
  288.  
  289.     
  290.     def AddInputActionsSet(self, arg0):
  291.         val = BInputc.B_InputManager_AddInputActionsSet(self.this, arg0)
  292.         return val
  293.  
  294.     
  295.     def SetInputActionsSet(self, arg0):
  296.         val = BInputc.B_InputManager_SetInputActionsSet(self.this, arg0)
  297.         return val
  298.  
  299.     
  300.     def GetInputActionsSet(self):
  301.         val = BInputc.B_InputManager_GetInputActionsSet(self.this)
  302.         return val
  303.  
  304.     
  305.     def __repr__(self):
  306.         return '<C B_InputManager instance>'
  307.  
  308.  
  309.  
  310. class B_InputManager(B_InputManagerPtr):
  311.     
  312.     def __init__(self):
  313.         self.this = BInputc.new_B_InputManager()
  314.         self.thisown = 1
  315.  
  316.  
  317.  
  318. def GetInputManager():
  319.     val = BInputc.GetInputManager()
  320.     val = B_InputManagerPtr(val)
  321.     return val
  322.  
  323.