1 | /** @file
|
---|
2 | * VirtualBox - Global Guest Operating System definition.
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Copyright (C) 2006-2007 innotek GmbH
|
---|
7 | *
|
---|
8 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | * available from http://www.virtualbox.org. This file is free software;
|
---|
10 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | * General Public License as published by the Free Software Foundation,
|
---|
12 | * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
13 | * distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
14 | * be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | *
|
---|
16 | * If you received this file as part of a commercial VirtualBox
|
---|
17 | * distribution, then only the terms of your commercial VirtualBox
|
---|
18 | * license agreement apply instead of the previous paragraph.
|
---|
19 | */
|
---|
20 |
|
---|
21 | #ifndef ___VBox_ostypes_h
|
---|
22 | #define ___VBox_ostypes_h
|
---|
23 |
|
---|
24 | #include <iprt/cdefs.h>
|
---|
25 |
|
---|
26 | __BEGIN_DECLS
|
---|
27 |
|
---|
28 | /**
|
---|
29 | * Global list of guest operating system types. They are grouped
|
---|
30 | * into families. A family identifer is always has mod 0x10000 == 0.
|
---|
31 | * New entries can be added, however other components might depend
|
---|
32 | * on the values (e.g. the Qt GUI) so if possible, the values should
|
---|
33 | * stay the same.
|
---|
34 | *
|
---|
35 | * @todo This typedef crashes with a core Mac OS X typedef, please rename it.
|
---|
36 | */
|
---|
37 | typedef enum
|
---|
38 | {
|
---|
39 | OSTypeUnknown = 0,
|
---|
40 | OSTypeDOS = 0x10000,
|
---|
41 | OSTypeWin31 = 0x15000,
|
---|
42 | OSTypeWin9x = 0x20000,
|
---|
43 | OSTypeWin95 = 0x21000,
|
---|
44 | OSTypeWin98 = 0x22000,
|
---|
45 | OSTypeWinMe = 0x23000,
|
---|
46 | OSTypeWinNT = 0x30000,
|
---|
47 | OSTypeWinNT4 = 0x31000,
|
---|
48 | OSTypeWin2k = 0x32000,
|
---|
49 | OSTypeWinXP = 0x33000,
|
---|
50 | OSTypeWin2k3 = 0x34000,
|
---|
51 | OSTypeWinVista = 0x35000,
|
---|
52 | OSTypeOS2 = 0x40000,
|
---|
53 | OSTypeOS2Warp3 = 0x41000,
|
---|
54 | OSTypeOS2Warp4 = 0x42000,
|
---|
55 | OSTypeOS2Warp45 = 0x43000,
|
---|
56 | OSTypeLinux = 0x50000,
|
---|
57 | OSTypeLinux22 = 0x51000,
|
---|
58 | OSTypeLinux24 = 0x52000,
|
---|
59 | OSTypeLinux26 = 0x53000,
|
---|
60 | OSTypeFreeBSD = 0x60000,
|
---|
61 | OSTypeOpenBSD = 0x61000,
|
---|
62 | OSTypeNetBSD = 0x62000,
|
---|
63 | OSTypeNetware = 0x70000,
|
---|
64 | OSTypeSolaris = 0x80000,
|
---|
65 | OSTypeL4 = 0x90000
|
---|
66 | } OSType, VBOXOSTYPE;
|
---|
67 |
|
---|
68 | __END_DECLS
|
---|
69 |
|
---|
70 | #endif
|
---|
71 |
|
---|