VirtualBox

Changeset 7233 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 3, 2008 12:25:32 PM (17 years ago)
Author:
vboxsync
Message:

Renamed OSType to VBOXOSTYPE to fix the clash with some mac os x typedef.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxGuest.h

    r7084 r7233  
    359359    uint32_t additionsVersion;
    360360    /** guest OS type */
    361     OSType osType;
     361    VBOXOSTYPE osType;
    362362    /** @todo */
    363363} VBoxGuestInfo;
  • trunk/include/VBox/ostypes.h

    r5999 r7233  
    3232
    3333/**
    34  * Global list of guest operating system types. They are grouped
    35  * into families. A family identifer is always has mod 0x10000 == 0.
    36  * New entries can be added, however other components might depend
    37  * on the values (e.g. the Qt GUI) so if possible, the values should
    38  * stay the same.
    39  *
    40  * @todo This typedef crashes with a core Mac OS X typedef, please rename it.
     34 * Global list of guest operating system types.
     35 *
     36 * They are grouped into families. A family identifer is always has
     37 * mod 0x10000 == 0. New entries can be added, however other components
     38 * depend on the values (e.g. the Qt GUI and guest additions) so the
     39 * existing values MUST stay the same.
    4140 */
    42 typedef enum
     41typedef enum VBOXOSTYPE
    4342{
    44     OSTypeUnknown   = 0,
    45     OSTypeDOS       = 0x10000,
    46     OSTypeWin31     = 0x15000,
    47     OSTypeWin9x     = 0x20000,
    48     OSTypeWin95     = 0x21000,
    49     OSTypeWin98     = 0x22000,
    50     OSTypeWinMe     = 0x23000,
    51     OSTypeWinNT     = 0x30000,
    52     OSTypeWinNT4    = 0x31000,
    53     OSTypeWin2k     = 0x32000,
    54     OSTypeWinXP     = 0x33000,
    55     OSTypeWin2k3    = 0x34000,
    56     OSTypeWinVista  = 0x35000,
    57     OSTypeOS2       = 0x40000,
    58     OSTypeOS2Warp3  = 0x41000,
    59     OSTypeOS2Warp4  = 0x42000,
    60     OSTypeOS2Warp45 = 0x43000,
    61     OSTypeLinux     = 0x50000,
    62     OSTypeLinux22   = 0x51000,
    63     OSTypeLinux24   = 0x52000,
    64     OSTypeLinux26   = 0x53000,
    65     OSTypeFreeBSD   = 0x60000,
    66     OSTypeOpenBSD   = 0x61000,
    67     OSTypeNetBSD    = 0x62000,
    68     OSTypeNetware   = 0x70000,
    69     OSTypeSolaris   = 0x80000,
    70     OSTypeL4        = 0x90000
    71 } OSType, VBOXOSTYPE;
     43    VBOXOSTYPE_Unknown   = 0,
     44    VBOXOSTYPE_DOS       = 0x10000,
     45    VBOXOSTYPE_Win31     = 0x15000,
     46    VBOXOSTYPE_Win9x     = 0x20000,
     47    VBOXOSTYPE_Win95     = 0x21000,
     48    VBOXOSTYPE_Win98     = 0x22000,
     49    VBOXOSTYPE_WinMe     = 0x23000,
     50    VBOXOSTYPE_WinNT     = 0x30000,
     51    VBOXOSTYPE_WinNT4    = 0x31000,
     52    VBOXOSTYPE_Win2k     = 0x32000,
     53    VBOXOSTYPE_WinXP     = 0x33000,
     54    VBOXOSTYPE_Win2k3    = 0x34000,
     55    VBOXOSTYPE_WinVista  = 0x35000,
     56    VBOXOSTYPE_OS2       = 0x40000,
     57    VBOXOSTYPE_OS2Warp3  = 0x41000,
     58    VBOXOSTYPE_OS2Warp4  = 0x42000,
     59    VBOXOSTYPE_OS2Warp45 = 0x43000,
     60    VBOXOSTYPE_Linux     = 0x50000,
     61    VBOXOSTYPE_Linux22   = 0x51000,
     62    VBOXOSTYPE_Linux24   = 0x52000,
     63    VBOXOSTYPE_Linux26   = 0x53000,
     64    VBOXOSTYPE_FreeBSD   = 0x60000,
     65    VBOXOSTYPE_OpenBSD   = 0x61000,
     66    VBOXOSTYPE_NetBSD    = 0x62000,
     67    VBOXOSTYPE_Netware   = 0x70000,
     68    VBOXOSTYPE_Solaris   = 0x80000,
     69    VBOXOSTYPE_L4        = 0x90000,
     70    /** The usual 32-bit hack. */
     71    VBOXOSTYPE_32BIT_HACK = 0x7fffffff
     72} VBOXOSTYPE;
    7273
    7374__END_DECLS
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