VirtualBox

儲存庫 vbox 的更動 47867


忽略:
時間撮記:
2013-8-20 上午04:51:36 (11 年 以前)
作者:
vboxsync
訊息:

main/nat-service: too many exposed API.

位置:
trunk/src/VBox/Main
檔案:
修改 3 筆資料

圖例:

未更動
新增
刪除
  • 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;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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