VirtualBox

Ignore:
Timestamp:
Jul 14, 2010 12:49:48 PM (14 years ago)
Author:
vboxsync
Message:

vboxshell: event names here too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r30698 r30828  
    300300         print "got event: %s %s" %(str(type), asEnumElem(ctx, 'VBoxEventType', type))
    301301         if type == ctx['global'].constants.VBoxEventType_OnMachineStateChange:
    302              scev = ctx['global'].queryInterface(ev, 'IMachineStateChangeEvent')
     302             scev = ctx['global'].queryInterface(ev, 'IMachineStateChangedEvent')
    303303             if scev:
    304304                 print "machine state event: mach=%s state=%s" %(scev.machineId, scev.state)
    305305         elif  type == ctx['global'].constants.VBoxEventType_OnGuestPropertyChange:
    306              gpcev = ctx['global'].queryInterface(ev, 'IGuestPropertyChangeEvent')
     306             gpcev = ctx['global'].queryInterface(ev, 'IGuestPropertyChangedEvent')
    307307             if gpcev:
    308308                 print "guest property change: name=%s value=%s" %(gpcev.name, gpcev.value)
    309309         elif  type == ctx['global'].constants.VBoxEventType_OnMousePointerShapeChange:
    310              psev = ctx['global'].queryInterface(ev, 'IMousePointerShapeChangeEvent')
     310             psev = ctx['global'].queryInterface(ev, 'IMousePointerShapeChangedEvent')
    311311             if psev:
    312312                 shape = ctx['global'].getArray(psev, 'shape')
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette