Changeset 919:2ce8ca39525b for src/mlx/fs.py
- Timestamp:
- 03/24/19 08:15:59 (5 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/fs.py
r909 r919 1 1 2 import const3 from sound import startSound2 from . import const 3 from .sound import startSound 4 4 5 5 import os 6 6 7 import fsuipc8 import xplane7 from . import fsuipc 8 from . import xplane 9 9 10 10 import threading … … 36 36 """Called when a connection has been established to the flight 37 37 simulator of the given type.""" 38 print "fs.ConnectionListener.connected, fsType:", fsType, ", descriptor:", descriptor38 print("fs.ConnectionListener.connected, fsType:", fsType, ", descriptor:", descriptor) 39 39 40 40 def connectionFailed(self): 41 41 """Called when the connection could not be established.""" 42 print "fs.ConnectionListener.connectionFailed"42 print("fs.ConnectionListener.connectionFailed") 43 43 44 44 def disconnected(self): 45 45 """Called when a connection to the flight simulator has been broken.""" 46 print "fs.ConnectionListener.disconnected"46 print("fs.ConnectionListener.disconnected") 47 47 48 48 #-------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.