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 (GPL) as published by the Free Software
|
---|
12 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
13 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
14 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | *
|
---|
16 | * The contents of this file may alternatively be used under the terms
|
---|
17 | * of the Common Development and Distribution License Version 1.0
|
---|
18 | * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
19 | * VirtualBox OSE distribution, in which case the provisions of the
|
---|
20 | * CDDL are applicable instead of those of the GPL.
|
---|
21 | *
|
---|
22 | * You may elect to license modified versions of this file under the
|
---|
23 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
24 | */
|
---|
25 |
|
---|
26 | #ifndef ___VBox_ostypes_h
|
---|
27 | #define ___VBox_ostypes_h
|
---|
28 |
|
---|
29 | #include <iprt/cdefs.h>
|
---|
30 |
|
---|
31 | __BEGIN_DECLS
|
---|
32 |
|
---|
33 | /**
|
---|
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.
|
---|
41 | */
|
---|
42 | typedef enum
|
---|
43 | {
|
---|
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;
|
---|
72 |
|
---|
73 | __END_DECLS
|
---|
74 |
|
---|
75 | #endif
|
---|
76 |
|
---|