BandwidthGroupImpl.h revision 63b785c3291332a86a9bc473e68f08121368898b
63b785c3291332a86a9bc473e68f08121368898bvboxsync * VirtualBox COM class implementation
63b785c3291332a86a9bc473e68f08121368898bvboxsync * Copyright (C) 2006-2009 Oracle Corporation
63b785c3291332a86a9bc473e68f08121368898bvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
63b785c3291332a86a9bc473e68f08121368898bvboxsync * available from http://www.virtualbox.org. This file is free software;
63b785c3291332a86a9bc473e68f08121368898bvboxsync * you can redistribute it and/or modify it under the terms of the GNU
63b785c3291332a86a9bc473e68f08121368898bvboxsync * General Public License (GPL) as published by the Free Software
63b785c3291332a86a9bc473e68f08121368898bvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
63b785c3291332a86a9bc473e68f08121368898bvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
63b785c3291332a86a9bc473e68f08121368898bvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
63b785c3291332a86a9bc473e68f08121368898bvboxsync VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT(BandwidthGroup, IBandwidthGroup)
63b785c3291332a86a9bc473e68f08121368898bvboxsync // public initializer/uninitializer for internal purposes only
63b785c3291332a86a9bc473e68f08121368898bvboxsync HRESULT init(BandwidthControl *aParent, BandwidthGroup *aThat, bool aReshare = false);
63b785c3291332a86a9bc473e68f08121368898bvboxsync HRESULT initCopy(BandwidthControl *aParent, BandwidthGroup *aThat);
63b785c3291332a86a9bc473e68f08121368898bvboxsync STDMETHOD(COMGETTER(Type))(BandwidthGroupType_T *aType);
63b785c3291332a86a9bc473e68f08121368898bvboxsync STDMETHOD(COMGETTER(Reference))(ULONG *aReferences);
63b785c3291332a86a9bc473e68f08121368898bvboxsync STDMETHOD(COMGETTER(MaxMbPerSec))(ULONG *aMaxMbPerSec);
63b785c3291332a86a9bc473e68f08121368898bvboxsync STDMETHOD(COMSETTER(MaxMbPerSec))(ULONG aMaxMbPerSec);
63b785c3291332a86a9bc473e68f08121368898bvboxsync // public methods only for internal purposes
63b785c3291332a86a9bc473e68f08121368898bvboxsync#endif // ____H_BANDWIDTHGROUPIMPL
63b785c3291332a86a9bc473e68f08121368898bvboxsync/* vi: set tabstop=4 shiftwidth=4 expandtab: */