NATNetworkImpl.h revision 75fb03f8c1ac60d0449d333b78ec1ef08fcc9868
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync * VirtualBox COM class implementation
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync * Copyright (C) 2006-2011 Oracle Corporation
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync * available from http://www.virtualbox.org. This file is free software;
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync * you can redistribute it and/or modify it under the terms of the GNU
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync * General Public License (GPL) as published by the Free Software
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT(NATNetwork, INATNetwork)
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync // INATNetwork::EventSource
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync STDMETHOD(COMGETTER(EventSource))(IEventSource **IEventSource);
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync // INATNetwork properties
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync STDMETHOD(COMGETTER(AdvertiseDefaultIPv6RouteEnabled))(BOOL *aEnabled);
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync STDMETHOD(COMSETTER(AdvertiseDefaultIPv6RouteEnabled))(BOOL aEnabled);
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync STDMETHOD(COMGETTER(NeedDhcpServer))(BOOL *aEnabled);
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync STDMETHOD(COMSETTER(NeedDhcpServer))(BOOL aEnabled);
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync STDMETHOD(COMGETTER(PortForwardRules4))(ComSafeArrayOut(BSTR, aPortForwardRules4));
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync STDMETHOD(COMGETTER(PortForwardRules6))(ComSafeArrayOut(BSTR, aPortForwardRules6));
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync STDMETHOD(RemovePortForwardRule)(BOOL aIsIpv6, IN_BSTR aPortForwardRuleName);
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync typedef std::map<Utf8Str, settings::NATRule> NATRuleMap;
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync void GetPortForwardRulesFromMap(ComSafeArrayOut(BSTR, aPortForwardRules), NATRuleMap& aRules);
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync /** weak VirtualBox parent */
75fb03f8c1ac60d0449d333b78ec1ef08fcc9868vboxsync#endif // ____H_H_NATNETWORKIMPL