- Timestamp:
- Oct 14, 2013 10:13:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp
r49042 r49095 120 120 typedef VECNATSERVICEPF::const_iterator CITERATORNATSERVICEPF; 121 121 122 class PortForwardListener;122 class NATNetworkListener; 123 123 124 124 class VBoxNetLwipNAT: public VBoxNetBaseService 125 125 { 126 friend class PortForwardListener;126 friend class NATNetworkListener; 127 127 public: 128 128 VBoxNetLwipNAT(); … … 175 175 176 176 177 class PortForwardListener177 class NATNetworkListener 178 178 { 179 179 public: 180 PortForwardListener():m_pNAT(NULL){}180 NATNetworkListener():m_pNAT(NULL){} 181 181 182 182 HRESULT init(VBoxNetLwipNAT *pNAT) … … 209 209 210 210 211 typedef ListenerImpl< PortForwardListener, VBoxNetLwipNAT *> PortForwardListenerImpl;212 213 214 VBOX_LISTENER_DECLARE( PortForwardListenerImpl)211 typedef ListenerImpl<NATNetworkListener, VBoxNetLwipNAT *> NATNetworkListenerImpl; 212 213 214 VBOX_LISTENER_DECLARE(NATNetworkListenerImpl) 215 215 216 216 … … 875 875 AssertComRC(hrc); 876 876 877 ComObjPtr< PortForwardListenerImpl> listener;877 ComObjPtr<NATNetworkListenerImpl> listener; 878 878 hrc = listener.createObject(); 879 879 AssertComRCReturn(hrc, VERR_INTERNAL_ERROR); 880 880 881 hrc = listener->init(new PortForwardListener(), this);881 hrc = listener->init(new NATNetworkListener(), this); 882 882 AssertComRCReturn(hrc, VERR_INTERNAL_ERROR); 883 883
Note:
See TracChangeset
for help on using the changeset viewer.