VirtualBox

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

Last change on this file since 93115 was 93115, checked in by vboxsync, 3 years ago

scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 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-2022 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 <iprt/win/windows.h> /* Included by VirtualBox.h via rpc.h, so include our wrapper with cleanups. */
49# include <VirtualBox.h>
50# else
51# define VBOX_WITH_XPCOM_CPP_ENUM_HACK
52# include <VirtualBox_XPCOM.h>
53# endif
54#endif
55
56/* For convenience. */
57#include "VBox/com/defs.h"
58#include "VBox/com/ptr.h"
59
60#endif /* !VBOX_INCLUDED_com_VirtualBox_h */
61
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