1 | /* $Id: VirtualBoxXMLUtil.h 7466 2008-03-15 21:47:45Z vboxsync $ */
|
---|
2 |
|
---|
3 | /** @file
|
---|
4 | *
|
---|
5 | * VirtualBox XML/Settings API utility declarations
|
---|
6 | */
|
---|
7 |
|
---|
8 | /*
|
---|
9 | * Copyright (C) 2006-2007 innotek GmbH
|
---|
10 | *
|
---|
11 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
12 | * available from http://www.virtualbox.org. This file is free software;
|
---|
13 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
14 | * General Public License (GPL) as published by the Free Software
|
---|
15 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
16 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
17 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
18 | */
|
---|
19 |
|
---|
20 | #ifndef ____H_VIRTUALBOXXMLUTIL
|
---|
21 | #define ____H_VIRTUALBOXXMLUTIL
|
---|
22 |
|
---|
23 | /** VirtualBox XML settings namespace */
|
---|
24 | #define VBOX_XML_NAMESPACE "http://www.innotek.de/VirtualBox-settings"
|
---|
25 |
|
---|
26 | /** VirtualBox XML settings version number substring ("x.y") */
|
---|
27 | #define VBOX_XML_VERSION "1.3"
|
---|
28 |
|
---|
29 | /** VirtualBox XML settings version platform substring */
|
---|
30 | #if defined (RT_OS_DARWIN)
|
---|
31 | # define VBOX_XML_PLATFORM "macosx"
|
---|
32 | #elif defined (RT_OS_FREEBSD)
|
---|
33 | # define VBOX_XML_PLATFORM "freebsd"
|
---|
34 | #elif defined (RT_OS_LINUX)
|
---|
35 | # define VBOX_XML_PLATFORM "linux"
|
---|
36 | #elif defined (RT_OS_NETBSD)
|
---|
37 | # define VBOX_XML_PLATFORM "netbsd"
|
---|
38 | #elif defined (RT_OS_OPENBSD)
|
---|
39 | # define VBOX_XML_PLATFORM "openbsd"
|
---|
40 | #elif defined (RT_OS_OS2)
|
---|
41 | # define VBOX_XML_PLATFORM "os2"
|
---|
42 | #elif defined (RT_OS_SOLARIS)
|
---|
43 | # define VBOX_XML_PLATFORM "solaris"
|
---|
44 | #elif defined (RT_OS_WINDOWS)
|
---|
45 | # define VBOX_XML_PLATFORM "windows"
|
---|
46 | #else
|
---|
47 | # error Unsupported platform!
|
---|
48 | #endif
|
---|
49 |
|
---|
50 | /** VirtualBox XML settings full version string ("x.y-platform") */
|
---|
51 | #define VBOX_XML_VERSION_FULL VBOX_XML_VERSION "-" VBOX_XML_PLATFORM
|
---|
52 |
|
---|
53 | /** VirtualBox XML settings platform-specific (main) schema file */
|
---|
54 | #define VBOX_XML_SCHEMA "VirtualBox-settings-" VBOX_XML_PLATFORM ".xsd"
|
---|
55 | /** VirtualBox XML settings common schema include file */
|
---|
56 | #define VBOX_XML_SCHEMA_COMMON "VirtualBox-settings-common.xsd"
|
---|
57 | /** VirtualBox XML settings root element schema include file */
|
---|
58 | #define VBOX_XML_SCHEMA_ROOT "VirtualBox-settings-root.xsd"
|
---|
59 |
|
---|
60 | /** VirtualBox XML settings converter file */
|
---|
61 | #define VBOX_XML_SETTINGS_CONVERTER "SettingsConverter.xsl"
|
---|
62 |
|
---|
63 | #endif /* ____H_VIRTUALBOXXMLUTIL */
|
---|