Changeset 2957 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- May 31, 2007 10:09:04 AM (18 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/HostDVDDriveImpl.h
r2929 r2957 53 53 54 54 // public initializer/uninitializer for internal purposes only 55 HRESULT init (INPTR BSTR aName, INPTR BSTR a Description = NULL);55 HRESULT init (INPTR BSTR aName, INPTR BSTR aUdi = NULL, INPTR BSTR aDescription = NULL); 56 56 void uninit(); 57 57 58 58 // IHostDVDDrive properties 59 59 STDMETHOD(COMGETTER(Name)) (BSTR *aName); 60 STDMETHOD(COMGETTER(Udi)) (BSTR *aUdi); 60 61 STDMETHOD(COMGETTER(Description)) (BSTR *aDescription); 61 62 … … 64 65 /* @note Must be called from under the object read lock. */ 65 66 const Bstr &name() const { return mName; } 67 const Bstr &udi() const { return mUdi; } 68 const Bstr &description() const { return mDescription; } 66 69 67 70 // for VirtualBoxSupportErrorInfoImpl … … 72 75 const Bstr mName; 73 76 const Bstr mDescription; 77 const Bstr mUdi; 74 78 }; 75 79 -
trunk/src/VBox/Main/include/HostFloppyDriveImpl.h
r2929 r2957 53 53 54 54 // public initializer/uninitializer for internal purposes only 55 HRESULT init (INPTR BSTR aName );55 HRESULT init (INPTR BSTR aName, INPTR BSTR aUdi = NULL, INPTR BSTR aDescription = NULL); 56 56 void uninit(); 57 57 58 // IHost DVDDrive properties58 // IHostFloppyDrive properties 59 59 STDMETHOD(COMGETTER(Name)) (BSTR *aName); 60 STDMETHOD(COMGETTER(Description)) (BSTR *aDescription); 61 STDMETHOD(COMGETTER(Udi)) (BSTR *aUdi); 60 62 61 63 // public methods for internal purposes only … … 63 65 /* @note Must be called from under the object read lock. */ 64 66 const Bstr &name() const { return mName; } 67 const Bstr &udi() const { return mUdi; } 68 const Bstr &description() const { return mDescription; } 65 69 66 70 // for VirtualBoxSupportErrorInfoImpl … … 70 74 71 75 const Bstr mName; 76 const Bstr mDescription; 77 const Bstr mUdi; 72 78 }; 73 79 -
trunk/src/VBox/Main/include/HostImpl.h
r2917 r2957 36 36 class SessionMachine; 37 37 class HostDVDDrive; 38 class HostFloppyDrive; 38 39 class Progress; 39 40 … … 133 134 # ifdef VBOX_USE_LIBHAL 134 135 bool getDVDInfoFromHal(std::list <ComObjPtr <HostDVDDrive> > &list); 136 bool getFloppyInfoFromHal(std::list <ComObjPtr <HostFloppyDrive> > &list); 135 137 # endif 136 138 void parseMountTable(char *mountTable, std::list <ComObjPtr <HostDVDDrive> > &list);
Note:
See TracChangeset
for help on using the changeset viewer.