1 | /* $Id: VirtualBoxXMLUtil.h 6076 2007-12-14 19:23:03Z 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 | #define VBOX_XML_VERSION "1.2"
|
---|
27 |
|
---|
28 | /** VirtualBox XML settings version string */
|
---|
29 | #if defined (RT_OS_DARWIN)
|
---|
30 | # define VBOX_XML_PLATFORM "macosx"
|
---|
31 | #elif defined (RT_OS_FREEBSD)
|
---|
32 | # define VBOX_XML_PLATFORM "freebsd"
|
---|
33 | #elif defined (RT_OS_LINUX)
|
---|
34 | # define VBOX_XML_PLATFORM "linux"
|
---|
35 | #elif defined (RT_OS_NETBSD)
|
---|
36 | # define VBOX_XML_PLATFORM "netbsd"
|
---|
37 | #elif defined (RT_OS_OPENBSD)
|
---|
38 | # define VBOX_XML_PLATFORM "openbsd"
|
---|
39 | #elif defined (RT_OS_OS2)
|
---|
40 | # define VBOX_XML_PLATFORM "os2"
|
---|
41 | #elif defined (RT_OS_SOLARIS)
|
---|
42 | # define VBOX_XML_PLATFORM "solaris"
|
---|
43 | #elif defined (RT_OS_WINDOWS)
|
---|
44 | # define VBOX_XML_PLATFORM "windows"
|
---|
45 | #else
|
---|
46 | # error Unsupported platform!
|
---|
47 | #endif
|
---|
48 |
|
---|
49 | /** VirtualBox XML common settings version string */
|
---|
50 | #define VBOX_XML_PLATFORM_COMMON "common"
|
---|
51 |
|
---|
52 | /** VirtualBox XML settings schema file */
|
---|
53 | #define VBOX_XML_SCHEMA "VirtualBox-settings-" VBOX_XML_PLATFORM ".xsd"
|
---|
54 | #define VBOX_XML_SCHEMA_COMMON "VirtualBox-settings-" VBOX_XML_PLATFORM_COMMON ".xsd"
|
---|
55 |
|
---|
56 | #endif /* ____H_VIRTUALBOXXMLUTIL */
|
---|