VirtualBox

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

Last change on this file since 7341 was 7341, checked in by vboxsync, 17 years ago

Main/Settings: Implemented support for settings file auto-conversion at VBoxSVC startup (#2705).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1/* $Id: VirtualBoxXMLUtil.h 7341 2008-03-06 18:05:00Z 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.2"
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 common settings version string */
54#define VBOX_XML_PLATFORM_COMMON "common"
55
56/** VirtualBox XML settings schema file */
57#define VBOX_XML_SCHEMA "VirtualBox-settings-" VBOX_XML_PLATFORM ".xsd"
58#define VBOX_XML_SCHEMA_COMMON "VirtualBox-settings-" VBOX_XML_PLATFORM_COMMON ".xsd"
59
60/** VirtualBox XML settings converter file */
61#define VBOX_XML_SETTINGS_CONVERTER "SettingsConverter.xsl"
62
63#endif /* ____H_VIRTUALBOXXMLUTIL */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette