VirtualBox

source: vbox/trunk/include/VBox/com/VirtualBox.h@ 91688

Last change on this file since 91688 was 82968, checked in by vboxsync, 5 years ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1/** @file
2 * MS COM / XPCOM Abstraction Layer - VirtualBox COM Library definitions.
3 *
4 * @note This is the main header file that COM/XPCOM clients include; however,
5 * it is only a wrapper around another platform-dependent include file
6 * that contains the real COM/XPCOM interface declarations. That other
7 * include file is generated automatically at build time from
8 * /src/VBox/Main/idl/VirtualBox.xidl, which contains all the VirtualBox
9 * interfaces; the include file is called VirtualBox.h on Windows hosts
10 * and VirtualBox_XPCOM.h on Linux hosts. The build process places it in
11 * out/{platform}/bin/sdk/include, from where it gets
12 * included by the rest of the VirtualBox code.
13 */
14
15/*
16 * Copyright (C) 2006-2020 Oracle Corporation
17 *
18 * This file is part of VirtualBox Open Source Edition (OSE), as
19 * available from http://www.virtualbox.org. This file is free software;
20 * you can redistribute it and/or modify it under the terms of the GNU
21 * General Public License (GPL) as published by the Free Software
22 * Foundation, in version 2 as it comes in the "COPYING" file of the
23 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
24 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
25 *
26 * The contents of this file may alternatively be used under the terms
27 * of the Common Development and Distribution License Version 1.0
28 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
29 * VirtualBox OSE distribution, in which case the provisions of the
30 * CDDL are applicable instead of those of the GPL.
31 *
32 * You may elect to license modified versions of this file under the
33 * terms and conditions of either the GPL or the CDDL or both.
34 */
35
36#ifndef VBOX_INCLUDED_com_VirtualBox_h
37#define VBOX_INCLUDED_com_VirtualBox_h
38#ifndef RT_WITHOUT_PRAGMA_ONCE
39# pragma once
40#endif
41
42/* For XPCOM/C++ enum hack checks. */
43#include <iprt/assertcompile.h>
44
45/* Generated VirtualBox COM library definition file. */
46#if !defined(VBOXCOM_NOINCLUDE)
47# if !defined(VBOX_WITH_XPCOM)
48# include <VirtualBox.h>
49# else
50# define VBOX_WITH_XPCOM_CPP_ENUM_HACK
51# include <VirtualBox_XPCOM.h>
52# endif
53#endif
54
55/* For convenience. */
56#include "VBox/com/defs.h"
57#include "VBox/com/ptr.h"
58
59#endif /* !VBOX_INCLUDED_com_VirtualBox_h */
60
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