VirtualBox

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

Last change on this file since 104003 was 98103, checked in by vboxsync, 23 months 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.7 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-2023 Oracle and/or its affiliates.
17 *
18 * This file is part of VirtualBox base platform packages, as
19 * available from https://www.virtualbox.org.
20 *
21 * This program is free software; you can redistribute it and/or
22 * modify it under the terms of the GNU General Public License
23 * as published by the Free Software Foundation, in version 3 of the
24 * License.
25 *
26 * This program is distributed in the hope that it will be useful, but
27 * WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
29 * General Public License for more details.
30 *
31 * You should have received a copy of the GNU General Public License
32 * along with this program; if not, see <https://www.gnu.org/licenses>.
33 *
34 * The contents of this file may alternatively be used under the terms
35 * of the Common Development and Distribution License Version 1.0
36 * (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
37 * in the VirtualBox distribution, in which case the provisions of the
38 * CDDL are applicable instead of those of the GPL.
39 *
40 * You may elect to license modified versions of this file under the
41 * terms and conditions of either the GPL or the CDDL or both.
42 *
43 * SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
44 */
45
46#ifndef VBOX_INCLUDED_com_VirtualBox_h
47#define VBOX_INCLUDED_com_VirtualBox_h
48#ifndef RT_WITHOUT_PRAGMA_ONCE
49# pragma once
50#endif
51
52/* For XPCOM/C++ enum hack checks. */
53#include <iprt/assertcompile.h>
54
55/* Generated VirtualBox COM library definition file. */
56#if !defined(VBOXCOM_NOINCLUDE)
57# if !defined(VBOX_WITH_XPCOM)
58# include <iprt/win/windows.h> /* Included by VirtualBox.h via rpc.h, so include our wrapper with cleanups. */
59# include <VirtualBox.h>
60# else
61# define VBOX_WITH_XPCOM_CPP_ENUM_HACK
62# include <VirtualBox_XPCOM.h>
63# endif
64#endif
65
66/* For convenience. */
67#include "VBox/com/defs.h"
68#include "VBox/com/ptr.h"
69
70#endif /* !VBOX_INCLUDED_com_VirtualBox_h */
71
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