root/trunk/include/VBox/com/VirtualBox.h
| Revision 8155, 2.2 kB (checked in by vboxsync, 9 months ago) | |
|---|---|
| |
| Line | |
|---|---|
| 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 Sun Microsystems, Inc. |
| 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 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa |
| 39 | * Clara, CA 95054 USA or visit http://www.sun.com if you need |
| 40 | * additional information or have any questions. |
| 41 | */ |
| 42 | |
| 43 | #ifndef ___VBox_com_VirtualBox_h |
| 44 | #define ___VBox_com_VirtualBox_h |
| 45 | |
| 46 | // generated VirtualBox COM library definition file |
| 47 | #if !defined (VBOXCOM_NOINCLUDE) |
| 48 | #if !defined (VBOX_WITH_XPCOM) |
| 49 | #include <VirtualBox.h> |
| 50 | #else |
| 51 | #include <VirtualBox_XPCOM.h> |
| 52 | #endif |
| 53 | #endif // !defined (VBOXCOM_NOINCLUDE) |
| 54 | |
| 55 | // for convenience |
| 56 | #include "VBox/com/defs.h" |
| 57 | |
| 58 | #endif |
Note: See TracBrowser for help on using the browser.

