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