VirtualBox

source: vbox/trunk/src/VBox/Devices/VBoxDDUDeps.cpp@ 8765

Last change on this file since 8765 was 8263, checked in by vboxsync, 17 years ago

Solaris too.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 1.6 KB
Line 
1/* $Id: VBoxDDUDeps.cpp 8263 2008-04-21 22:55:53Z vboxsync $ */
2/** @file
3 * VBoxDDU - For dragging in library objects.
4 */
5
6/*
7 * Copyright (C) 2007 Sun Microsystems, Inc.
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 *
17 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18 * Clara, CA 95054 USA or visit http://www.sun.com if you need
19 * additional information or have any questions.
20 */
21
22/*******************************************************************************
23* Header Files *
24*******************************************************************************/
25#include <VBox/types.h>
26#ifdef VBOX_WITH_USB
27# include <VBox/usblib.h>
28# include <VBox/usbfilter.h>
29# ifdef RT_OS_OS2
30# include <os2.h>
31# include <usbcalls.h>
32# endif
33#endif
34
35/** Just a dummy global structure containing a bunch of
36 * function pointers to code which is wanted in the link.
37 */
38PFNRT g_apfnVBoxDDUDeps[] =
39{
40#ifdef VBOX_WITH_USB
41 (PFNRT)USBFilterInit,
42# ifdef RT_OS_OS2
43 (PFNRT)UsbOpen,
44# endif
45# if (defined(RT_OS_DARWIN) && defined(VBOX_WITH_NEW_USB_CODE_ON_DARWIN)) \
46 || defined(RT_OS_SOLARIS)
47 (PFNRT)USBLibInit,
48# endif
49#endif /* VBOX_WITH_USB */
50 NULL
51};
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