VirtualBox

Changeset 33298 in vbox


Ignore:
Timestamp:
Oct 21, 2010 11:07:23 AM (14 years ago)
Author:
vboxsync
Message:

Main: fix docs for aggregator API, burn fix

Location:
trunk/src/VBox
Files:
3 edited

Legend:

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

    r33296 r33298  
    405405    listener = console.eventSource.createListener()
    406406    registered = False
    407     # we create an aggregated event source to listen for multiple event types
     407    # we create an aggregated event source to listen for multiple event sources (keyboard and mouse in our case)
    408408    agg = console.eventSource.createAggregator([console.keyboard.eventSource, console.mouse.eventSource])
    409409    demo = open(file, 'w')
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r33295 r33298  
    1412314123    <method name="createAggregator">
    1412414124      <desc>
    14125         Creates a aggregator event source, collecting events from multiple source.
    14126         This way single listener can collect events from multiple sources, using
    14127         getEvent() of this aggregator.
     14125        Creates a aggregator event source, collecting events from multiple sources.
     14126        This way single listener can listen for events coming from multiple sources,
     14127        using single blocking getEvent() of this aggregator.
    1412814128      </desc>
    1412914129      <param name="subordinates" type="IEventSource" dir="in" safearray="yes">
  • trunk/src/VBox/Main/include/EventImpl.h

    r31772 r33298  
    155155    // IEventSource methods
    156156    STDMETHOD(CreateListener)(IEventListener ** aListener);
     157    STDMETHOD(CreateAggregator)(ComSafeArrayIn(IEventSource*, aSubordinates),
     158                                IEventSource **               aAggregator);
    157159    STDMETHOD(RegisterListener)(IEventListener * aListener,
    158160                                ComSafeArrayIn(VBoxEventType_T, aInterested),
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