VirtualBox

Ignore:
Timestamp:
Feb 17, 2009 5:00:56 PM (16 years ago)
Author:
vboxsync
Message:

Main: rename IHardDiskImage2 to IHardDiskImage; rename IFloppyImage2 to IFloppyImage; rename all media-related methods with a '2' suffix

File:
1 edited

Legend:

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

    r16853 r16867  
    289289
    290290/**
    291  * The FloppyImage2 component class implements the IFloppyImage2 interface.
    292  */
    293 class ATL_NO_VTABLE FloppyImage2
    294     : public com::SupportErrorInfoDerived <ImageMediumBase, FloppyImage2, IFloppyImage2>
    295     , public VirtualBoxSupportTranslation <FloppyImage2>
    296     , public IFloppyImage2
     291 * The FloppyImage component class implements the IFloppyImage interface.
     292 */
     293class ATL_NO_VTABLE FloppyImage
     294    : public com::SupportErrorInfoDerived <ImageMediumBase, FloppyImage, IFloppyImage>
     295    , public VirtualBoxSupportTranslation <FloppyImage>
     296    , public IFloppyImage
    297297{
    298298public:
     
    300300    COM_FORWARD_IMedium_TO_BASE (ImageMediumBase)
    301301
    302     VIRTUALBOXSUPPORTTRANSLATION_OVERRIDE (FloppyImage2)
    303 
    304     DECLARE_NOT_AGGREGATABLE (FloppyImage2)
     302    VIRTUALBOXSUPPORTTRANSLATION_OVERRIDE (FloppyImage)
     303
     304    DECLARE_NOT_AGGREGATABLE (FloppyImage)
    305305
    306306    DECLARE_PROTECT_FINAL_CONSTRUCT()
    307307
    308     BEGIN_COM_MAP (FloppyImage2)
     308    BEGIN_COM_MAP (FloppyImage)
    309309        COM_INTERFACE_ENTRY (ISupportErrorInfo)
    310310        COM_INTERFACE_ENTRY2 (IMedium, ImageMediumBase)
    311         COM_INTERFACE_ENTRY (IFloppyImage2)
     311        COM_INTERFACE_ENTRY (IFloppyImage)
    312312    END_COM_MAP()
    313313
    314314    NS_DECL_ISUPPORTS
    315315
    316     DECLARE_EMPTY_CTOR_DTOR (FloppyImage2)
     316    DECLARE_EMPTY_CTOR_DTOR (FloppyImage)
    317317
    318318    // public initializer/uninitializer for internal purposes only
     
    332332
    333333    /** For com::SupportErrorInfoImpl. */
    334     static const char *ComponentName() { return "FloppyImage2"; }
     334    static const char *ComponentName() { return "FloppyImage"; }
    335335
    336336private:
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