VirtualBox

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


Ignore:
Timestamp:
May 29, 2007 2:17:19 PM (18 years ago)
Author:
vboxsync
Message:

Updated the host DVD code on Linux to use hal for device detection

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

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

    r1 r2917  
    5050    // public initializer/uninitializer for internal purposes only
    5151    HRESULT init (INPTR BSTR driveName);
     52    HRESULT init (INPTR BSTR driveName, INPTR BSTR driveDescription);
    5253
    5354    // IHostDVDDrive properties
    5455    STDMETHOD(COMGETTER(Name)) (BSTR *driveName);
     56    STDMETHOD(COMGETTER(Description)) (BSTR *driveDescription);
    5557
    5658    // public methods for internal purposes only
     
    6466
    6567    Bstr mDriveName;
     68    Bstr mDriveDescription;
    6669};
    6770
  • trunk/src/VBox/Main/include/HostImpl.h

    r2333 r2917  
    131131
    132132#ifdef __LINUX__
     133# ifdef VBOX_USE_LIBHAL
     134    bool getDVDInfoFromHal(std::list <ComObjPtr <HostDVDDrive> > &list);
     135# endif
    133136    void parseMountTable(char *mountTable, std::list <ComObjPtr <HostDVDDrive> > &list);
    134137    bool validateDevice(const char *deviceNode, bool isCDROM);
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