Changeset 18023 in vbox for trunk/src/VBox/Main/DHCPServerImpl.cpp
- Timestamp:
- Mar 17, 2009 1:48:59 PM (16 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DHCPServerImpl.cpp
r18012 r18023 22 22 */ 23 23 24 #include "D hcpServerImpl.h"24 #include "DHCPServerImpl.h" 25 25 #include "Logging.h" 26 26 … … 30 30 ///////////////////////////////////////////////////////////////////////////// 31 31 32 DEFINE_EMPTY_CTOR_DTOR (D hcpServer)33 34 HRESULT D hcpServer::FinalConstruct()35 { 36 return S_OK; 37 } 38 39 void D hcpServer::FinalRelease()32 DEFINE_EMPTY_CTOR_DTOR (DHCPServer) 33 34 HRESULT DHCPServer::FinalConstruct() 35 { 36 return S_OK; 37 } 38 39 void DHCPServer::FinalRelease() 40 40 { 41 41 uninit (); 42 42 } 43 43 44 void D hcpServer::uninit()44 void DHCPServer::uninit() 45 45 { 46 46 /* Enclose the state transition Ready->InUninit->NotReady */ … … 58 58 } 59 59 60 HRESULT D hcpServer::init(VirtualBox *aVirtualBox, IN_BSTR aName)60 HRESULT DHCPServer::init(VirtualBox *aVirtualBox, IN_BSTR aName) 61 61 { 62 62 AssertReturn (aName != NULL, E_INVALIDARG); … … 85 85 } 86 86 87 HRESULT D hcpServer::init(VirtualBox *aVirtualBox, const settings::Key &aNode)87 HRESULT DHCPServer::init(VirtualBox *aVirtualBox, const settings::Key &aNode) 88 88 { 89 89 using namespace settings; … … 110 110 } 111 111 112 HRESULT D hcpServer::saveSettings (settings::Key &aParentNode)112 HRESULT DHCPServer::saveSettings (settings::Key &aParentNode) 113 113 { 114 114 using namespace settings; … … 121 121 AutoReadLock alock (this); 122 122 123 Key aNode = aParentNode.appendKey ("D hcpServer");123 Key aNode = aParentNode.appendKey ("DHCPServer"); 124 124 /* required */ 125 125 aNode.setValue <Bstr> ("networkName", mName); … … 133 133 } 134 134 135 STDMETHODIMP D hcpServer::COMGETTER(NetworkName) (BSTR *aName)135 STDMETHODIMP DHCPServer::COMGETTER(NetworkName) (BSTR *aName) 136 136 { 137 137 CheckComArgOutPointerValid(aName); … … 145 145 } 146 146 147 STDMETHODIMP D hcpServer::COMGETTER(Enabled) (BOOL *aEnabled)147 STDMETHODIMP DHCPServer::COMGETTER(Enabled) (BOOL *aEnabled) 148 148 { 149 149 CheckComArgOutPointerValid(aEnabled); … … 157 157 } 158 158 159 STDMETHODIMP D hcpServer::COMSETTER(Enabled) (BOOL aEnabled)159 STDMETHODIMP DHCPServer::COMSETTER(Enabled) (BOOL aEnabled) 160 160 { 161 161 AutoCaller autoCaller (this); … … 172 172 } 173 173 174 STDMETHODIMP D hcpServer::COMGETTER(IPAddress) (BSTR *aIPAddress)174 STDMETHODIMP DHCPServer::COMGETTER(IPAddress) (BSTR *aIPAddress) 175 175 { 176 176 CheckComArgOutPointerValid(aIPAddress); … … 184 184 } 185 185 186 STDMETHODIMP D hcpServer::COMGETTER(NetworkMask) (BSTR *aNetworkMask)186 STDMETHODIMP DHCPServer::COMGETTER(NetworkMask) (BSTR *aNetworkMask) 187 187 { 188 188 CheckComArgOutPointerValid(aNetworkMask); … … 196 196 } 197 197 198 STDMETHODIMP D hcpServer::COMGETTER(LowerIP) (BSTR *aIPAddress)198 STDMETHODIMP DHCPServer::COMGETTER(LowerIP) (BSTR *aIPAddress) 199 199 { 200 200 CheckComArgOutPointerValid(aIPAddress); … … 208 208 } 209 209 210 STDMETHODIMP D hcpServer::COMGETTER(UpperIP) (BSTR *aIPAddress)210 STDMETHODIMP DHCPServer::COMGETTER(UpperIP) (BSTR *aIPAddress) 211 211 { 212 212 CheckComArgOutPointerValid(aIPAddress); … … 220 220 } 221 221 222 STDMETHODIMP D hcpServer::SetConfiguration (IN_BSTR aIPAddress, IN_BSTR aNetworkMask, IN_BSTR aLowerIP, IN_BSTR aUpperIP)222 STDMETHODIMP DHCPServer::SetConfiguration (IN_BSTR aIPAddress, IN_BSTR aNetworkMask, IN_BSTR aLowerIP, IN_BSTR aUpperIP) 223 223 { 224 224 AssertReturn (aIPAddress != NULL, E_INVALIDARG);
Note:
See TracChangeset
for help on using the changeset viewer.