VirtualBox

Changeset 47867 in vbox


Ignore:
Timestamp:
Aug 20, 2013 4:51:36 AM (11 years ago)
Author:
vboxsync
Message:

main/nat-service: too many exposed API.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r47861 r47867  
    14031403
    14041404  <interface name="INATNetwork" extends="$unknown"
    1405     uuid="d09da50a-ab33-4f83-a879-00f5b74e8dfc"
     1405    uuid="448ea897-0ce9-4362-a07e-9ab7833afc33"
    14061406    wsmap="managed">
    14071407    <attribute name="networkName" type="wstring">
     
    14621462    </method>
    14631463   
    1464     <method name="getOffsetForService">
    1465       <param name="service" type="NATNetworkServiceType" dir="in"/>
    1466       <param name="offset" type="long" dir="return"/>
    1467     </method>
    1468 
    1469     <method name="setOffsetForService">
    1470       <param name="service" type="NATNetworkServiceType" dir="in"/>
    1471       <param name="offset" type="long" dir="in"/>
    1472     </method>
    1473 
    14741464    <attribute name="portForwardRules6" type="wstring" readonly="yes" safearray="yes">
    14751465      <desc>Array of NAT port-forwarding rules in string representation, in the
  • trunk/src/VBox/Main/include/NATNetworkImpl.h

    r47861 r47867  
    109109    STDMETHOD(COMGETTER(LocalMappings))(ComSafeArrayOut(BSTR, aLocalMappings));
    110110    STDMETHOD(AddLocalMapping)(IN_BSTR aHostId, LONG aOffset);
    111     STDMETHOD(GetOffsetForService)(NATNetworkServiceType_T service, LONG *aOffset);
    112     STDMETHOD(SetOffsetForService)(NATNetworkServiceType_T service, LONG aOffset);
    113111
    114112    STDMETHOD(COMGETTER(PortForwardRules4))(ComSafeArrayOut(BSTR, aPortForwardRules4));
  • trunk/src/VBox/Main/src-server/NATNetworkImpl.cpp

    r47861 r47867  
    482482
    483483STDMETHODIMP NATNetwork::AddLocalMapping(IN_BSTR aHostId, LONG aOffset)
    484 {
    485     return E_NOTIMPL;
    486 }
    487 
    488 STDMETHODIMP NATNetwork::GetOffsetForService(NATNetworkServiceType_T service, LONG *aOffset)
    489 {
    490     return E_NOTIMPL;
    491 }
    492 
    493 STDMETHODIMP NATNetwork::SetOffsetForService(NATNetworkServiceType_T service, LONG aOffset)
    494484{
    495485    return E_NOTIMPL;
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