VirtualBox

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


Ignore:
Timestamp:
Jun 20, 2012 11:46:31 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78670
Message:

Main,VBoxManage,docs: bandwidth units changed to bytes (#5582)

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

Legend:

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

    r35638 r41842  
    5252    void uninit();
    5353
    54     STDMETHOD(CreateBandwidthGroup) (IN_BSTR aName, BandwidthGroupType_T aType, ULONG aMaxMbPerSec);
     54    STDMETHOD(CreateBandwidthGroup) (IN_BSTR aName, BandwidthGroupType_T aType, LONG64 aMaxBytesPerSec);
    5555    STDMETHOD(DeleteBandwidthGroup) (IN_BSTR aName);
    5656    STDMETHOD(COMGETTER(NumGroups)) (ULONG *aGroups);
  • trunk/src/VBox/Main/include/BandwidthGroupImpl.h

    r35638 r41842  
    4444                 const Utf8Str &aName,
    4545                 BandwidthGroupType_T aType,
    46                  ULONG aMaxMbPerSec);
     46                 LONG64 aMaxBytesPerSec);
    4747    HRESULT init(BandwidthControl *aParent, BandwidthGroup *aThat, bool aReshare = false);
    4848    HRESULT initCopy(BandwidthControl *aParent, BandwidthGroup *aThat);
     
    5555    STDMETHOD(COMGETTER(Type))(BandwidthGroupType_T *aType);
    5656    STDMETHOD(COMGETTER(Reference))(ULONG *aReferences);
    57     STDMETHOD(COMGETTER(MaxMbPerSec))(ULONG *aMaxMbPerSec);
    58     STDMETHOD(COMSETTER(MaxMbPerSec))(ULONG aMaxMbPerSec);
     57    STDMETHOD(COMGETTER(MaxBytesPerSec))(LONG64 *aMaxBytesPerSec);
     58    STDMETHOD(COMSETTER(MaxBytesPerSec))(LONG64 aMaxBytesPerSec);
    5959
    6060    // public methods only for internal purposes
     
    6565    const Utf8Str &getName() const;
    6666    BandwidthGroupType_T getType() const;
    67     ULONG getMaxMbPerSec() const;
     67    LONG64 getMaxBytesPerSec() const;
    6868    ULONG getReferences() const;
    6969
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette