VirtualBox

source: vbox/trunk/src/VBox/Main/include/VirtualBoxXMLUtil.h@ 14949

Last change on this file since 14949 was 14949, checked in by vboxsync, 16 years ago

Appended vim modeline to set tabstop and expand tabs (in the way
suggested by our coding guidelines).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1/* $Id: VirtualBoxXMLUtil.h 14949 2008-12-03 15:17:16Z vboxsync $ */
2
3/** @file
4 *
5 * VirtualBox XML/Settings API utility declarations
6 */
7
8/*
9 * Copyright (C) 2006-2007 Sun Microsystems, Inc.
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 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
20 * Clara, CA 95054 USA or visit http://www.sun.com if you need
21 * additional information or have any questions.
22 */
23
24#ifndef ____H_VIRTUALBOXXMLUTIL
25#define ____H_VIRTUALBOXXMLUTIL
26
27/** VirtualBox XML settings namespace */
28#define VBOX_XML_NAMESPACE "http://www.innotek.de/VirtualBox-settings"
29
30/** VirtualBox XML settings version number substring ("x.y") */
31#define VBOX_XML_VERSION "1.5"
32
33/** VirtualBox XML settings version platform substring */
34#if defined (RT_OS_DARWIN)
35# define VBOX_XML_PLATFORM "macosx"
36#elif defined (RT_OS_FREEBSD)
37# define VBOX_XML_PLATFORM "freebsd"
38#elif defined (RT_OS_LINUX)
39# define VBOX_XML_PLATFORM "linux"
40#elif defined (RT_OS_NETBSD)
41# define VBOX_XML_PLATFORM "netbsd"
42#elif defined (RT_OS_OPENBSD)
43# define VBOX_XML_PLATFORM "openbsd"
44#elif defined (RT_OS_OS2)
45# define VBOX_XML_PLATFORM "os2"
46#elif defined (RT_OS_SOLARIS)
47# define VBOX_XML_PLATFORM "solaris"
48#elif defined (RT_OS_WINDOWS)
49# define VBOX_XML_PLATFORM "windows"
50#else
51# error Unsupported platform!
52#endif
53
54/** VirtualBox XML settings full version string ("x.y-platform") */
55#define VBOX_XML_VERSION_FULL VBOX_XML_VERSION "-" VBOX_XML_PLATFORM
56
57/** VirtualBox XML settings platform-specific (main) schema file */
58#define VBOX_XML_SCHEMA "VirtualBox-settings-" VBOX_XML_PLATFORM ".xsd"
59/** VirtualBox XML settings common schema include file */
60#define VBOX_XML_SCHEMA_COMMON "VirtualBox-settings-common.xsd"
61/** VirtualBox XML settings root element schema include file */
62#define VBOX_XML_SCHEMA_ROOT "VirtualBox-settings-root.xsd"
63
64/** VirtualBox XML settings converter file */
65#define VBOX_XML_SETTINGS_CONVERTER "SettingsConverter.xsl"
66
67#endif /* ____H_VIRTUALBOXXMLUTIL */
68/* vi: set tabstop=4 shiftwidth=4 expandtab: */
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use