VirtualBox

Changeset 95428 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jun 29, 2022 1:15:00 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152030
Message:

Main: Resolved a @todo: Renamed VBoxEventType_Last -> VBoxEventType_End.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r95424 r95428  
    2604226042  <enum
    2604326043    name="VBoxEventType"
    26044     uuid="d9a89164-5143-49ce-b9ab-4e76edf5b93b"
     26044    uuid="05dfb131-4deb-4125-9bcd-96518026b423"
    2604526045    >
    2604626046
     
    2653226532    </const>
    2653326533    <!-- End event marker -->
    26534     <!-- @todo rename to 'End' as it is exclusive (we use 'last' to be inclusive). -->
    26535     <const name="Last" value="117">
     26534    <const name="End" value="117">
    2653626535      <desc>
    2653726536        Must be last event, used for iterations and structures relying on numerical event values.
  • trunk/src/VBox/Main/src-all/EventImpl.cpp

    r94912 r95428  
    393393
    394394static const int FirstEvent = (int)VBoxEventType_LastWildcard + 1;
    395 static const int LastEvent = (int)VBoxEventType_Last;
     395static const int LastEvent = (int)VBoxEventType_End;
    396396static const int NumEvents = LastEvent - FirstEvent;
    397397
Note: See TracChangeset for help on using the changeset viewer.

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