VirtualBox

Changeset 14991 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Dec 4, 2008 3:17:33 PM (16 years ago)
Author:
vboxsync
Message:

Main: rework the Linux host drive code to use libdbus-1 directly instead of libhal

Location:
trunk/src/VBox/Main/include
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/HostImpl.h

    r14949 r14991  
    3636#ifdef RT_OS_WINDOWS
    3737# include "win/svchlp.h"
     38#endif
     39
     40#ifdef RT_OS_LINUX
     41# include <HostHardwareLinux.h>
    3842#endif
    3943
     
    132136private:
    133137
    134 #if defined(RT_OS_LINUX) || defined(RT_OS_SOLARIS)
    135 # if defined(VBOX_WITH_LIBHAL) || defined(VBOX_USE_LIBHAL)
     138#if defined(RT_OS_SOLARIS)
     139# if defined(VBOX_USE_LIBHAL)
    136140    bool getDVDInfoFromHal(std::list <ComObjPtr <HostDVDDrive> > &list);
    137141    bool getFloppyInfoFromHal(std::list <ComObjPtr <HostFloppyDrive> > &list);
     
    178182#endif /* VBOX_WITH_USB */
    179183
     184#ifdef RT_OS_LINUX
     185    /** Object with information about host drives */
     186    VBoxMainDriveInfo mHostDrives;
     187#endif
    180188    /* Features that can be queried with GetProcessorFeature */
    181189    BOOL fVTxAMDVSupported, fLongModeSupported, fPAESupported;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette