VirtualBox

Ignore:
Timestamp:
Mar 24, 2009 1:21:12 PM (16 years ago)
Author:
vboxsync
Message:

Main: turn read/write param in OpenHardDisk into an enum

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/HardDiskImpl.h

    r18162 r18177  
    7878
    7979    enum HDDOpenMode  { OpenReadWrite, OpenReadOnly };
    80                 // have to use a special enum or otherwise the overloaded init() is ambiguous
     80                // have to use a special enum for the overloaded init() below;
     81                // can't use AccessMode_T from XIDL because that's mapped to an int
     82                // and would be ambiguous
    8183
    8284    // public initializer/uninitializer for internal purposes only
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