Changeset 13580 in vbox for trunk/src/VBox/Main/include/FloppyDriveImpl.h
- Timestamp:
- Oct 27, 2008 2:04:18 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38479
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/FloppyDriveImpl.h
r8155 r13580 7 7 8 8 /* 9 * Copyright (C) 2006-200 7Sun Microsystems, Inc.9 * Copyright (C) 2006-2008 Sun Microsystems, Inc. 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 27 27 #include "VirtualBoxBase.h" 28 28 29 #include "MediumImpl.h" 30 29 31 class Machine; 30 32 … … 42 44 { 43 45 mEnabled = true; 44 m DriveState = DriveState_NotMounted;46 mState = DriveState_NotMounted; 45 47 } 46 48 … … 48 50 { 49 51 return this == &that || 50 (m DriveState == that.mDriveState &&51 m FloppyImage.equalsTo (that.mFloppyImage) &&52 (mState == that.mState && 53 mImage.equalsTo (that.mImage) && 52 54 mHostDrive.equalsTo (that.mHostDrive)); 53 55 } 54 56 55 57 BOOL mEnabled; 56 Com Ptr <IFloppyImage> mFloppyImage;58 ComObjPtr <FloppyImage2> mImage; 57 59 ComPtr <IHostFloppyDrive> mHostDrive; 58 DriveState_T m DriveState;60 DriveState_T mState; 59 61 }; 60 62 … … 86 88 STDMETHOD(COMGETTER(Enabled)) (BOOL *aEnabled); 87 89 STDMETHOD(COMSETTER(Enabled)) (BOOL aEnabled); 88 STDMETHOD(COMGETTER(State)) (DriveState_T *a DriveState);90 STDMETHOD(COMGETTER(State)) (DriveState_T *aState); 89 91 90 92 // IFloppyDrive methods … … 92 94 STDMETHOD(CaptureHostDrive) (IHostFloppyDrive *aHostFloppyDrive); 93 95 STDMETHOD(Unmount)(); 94 STDMETHOD(GetImage) (IFloppyImage **aFloppyImage);96 STDMETHOD(GetImage) (IFloppyImage2 **aFloppyImage); 95 97 STDMETHOD(GetHostDrive) (IHostFloppyDrive **aHostFloppyDrive); 96 98
Note:
See TracChangeset
for help on using the changeset viewer.