VirtualBox

Ignore:
Timestamp:
Oct 27, 2008 2:04:18 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38479
Message:

Ported s2 branch (r37120:38456).

File:
1 edited

Legend:

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

    r8155 r13580  
    77
    88/*
    9  * Copyright (C) 2006-2007 Sun Microsystems, Inc.
     9 * Copyright (C) 2006-2008 Sun Microsystems, Inc.
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2727#include "VirtualBoxBase.h"
    2828
     29#include "MediumImpl.h"
     30
    2931class Machine;
    3032
     
    4244        {
    4345            mEnabled    = true;
    44             mDriveState = DriveState_NotMounted;
     46            mState = DriveState_NotMounted;
    4547        }
    4648
     
    4850        {
    4951            return this == &that ||
    50                    (mDriveState == that.mDriveState &&
    51                     mFloppyImage.equalsTo (that.mFloppyImage) &&
     52                   (mState == that.mState &&
     53                    mImage.equalsTo (that.mImage) &&
    5254                    mHostDrive.equalsTo (that.mHostDrive));
    5355        }
    5456
    5557        BOOL mEnabled;
    56         ComPtr <IFloppyImage> mFloppyImage;
     58        ComObjPtr <FloppyImage2> mImage;
    5759        ComPtr <IHostFloppyDrive> mHostDrive;
    58         DriveState_T mDriveState;
     60        DriveState_T mState;
    5961    };
    6062
     
    8688    STDMETHOD(COMGETTER(Enabled)) (BOOL *aEnabled);
    8789    STDMETHOD(COMSETTER(Enabled)) (BOOL aEnabled);
    88     STDMETHOD(COMGETTER(State)) (DriveState_T *aDriveState);
     90    STDMETHOD(COMGETTER(State)) (DriveState_T *aState);
    8991
    9092    // IFloppyDrive methods
     
    9294    STDMETHOD(CaptureHostDrive) (IHostFloppyDrive *aHostFloppyDrive);
    9395    STDMETHOD(Unmount)();
    94     STDMETHOD(GetImage) (IFloppyImage **aFloppyImage);
     96    STDMETHOD(GetImage) (IFloppyImage2 **aFloppyImage);
    9597    STDMETHOD(GetHostDrive) (IHostFloppyDrive **aHostFloppyDrive);
    9698
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