VirtualBox

Ignore:
Timestamp:
Mar 17, 2009 1:48:59 PM (16 years ago)
Author:
vboxsync
Message:

Dhcp->DHCP

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/DHCPServerImpl.cpp

    r18012 r18023  
    2222 */
    2323
    24 #include "DhcpServerImpl.h"
     24#include "DHCPServerImpl.h"
    2525#include "Logging.h"
    2626
     
    3030/////////////////////////////////////////////////////////////////////////////
    3131
    32 DEFINE_EMPTY_CTOR_DTOR (DhcpServer)
    33 
    34 HRESULT DhcpServer::FinalConstruct()
    35 {
    36     return S_OK;
    37 }
    38 
    39 void DhcpServer::FinalRelease()
     32DEFINE_EMPTY_CTOR_DTOR (DHCPServer)
     33
     34HRESULT DHCPServer::FinalConstruct()
     35{
     36    return S_OK;
     37}
     38
     39void DHCPServer::FinalRelease()
    4040{
    4141    uninit ();
    4242}
    4343
    44 void DhcpServer::uninit()
     44void DHCPServer::uninit()
    4545{
    4646    /* Enclose the state transition Ready->InUninit->NotReady */
     
    5858}
    5959
    60 HRESULT DhcpServer::init(VirtualBox *aVirtualBox, IN_BSTR aName)
     60HRESULT DHCPServer::init(VirtualBox *aVirtualBox, IN_BSTR aName)
    6161{
    6262    AssertReturn (aName != NULL, E_INVALIDARG);
     
    8585}
    8686
    87 HRESULT DhcpServer::init(VirtualBox *aVirtualBox, const settings::Key &aNode)
     87HRESULT DHCPServer::init(VirtualBox *aVirtualBox, const settings::Key &aNode)
    8888{
    8989    using namespace settings;
     
    110110}
    111111
    112 HRESULT DhcpServer::saveSettings (settings::Key &aParentNode)
     112HRESULT DHCPServer::saveSettings (settings::Key &aParentNode)
    113113{
    114114    using namespace settings;
     
    121121    AutoReadLock alock (this);
    122122
    123     Key aNode = aParentNode.appendKey ("DhcpServer");
     123    Key aNode = aParentNode.appendKey ("DHCPServer");
    124124    /* required */
    125125    aNode.setValue <Bstr> ("networkName", mName);
     
    133133}
    134134
    135 STDMETHODIMP DhcpServer::COMGETTER(NetworkName) (BSTR *aName)
     135STDMETHODIMP DHCPServer::COMGETTER(NetworkName) (BSTR *aName)
    136136{
    137137    CheckComArgOutPointerValid(aName);
     
    145145}
    146146
    147 STDMETHODIMP DhcpServer::COMGETTER(Enabled) (BOOL *aEnabled)
     147STDMETHODIMP DHCPServer::COMGETTER(Enabled) (BOOL *aEnabled)
    148148{
    149149    CheckComArgOutPointerValid(aEnabled);
     
    157157}
    158158
    159 STDMETHODIMP DhcpServer::COMSETTER(Enabled) (BOOL aEnabled)
     159STDMETHODIMP DHCPServer::COMSETTER(Enabled) (BOOL aEnabled)
    160160{
    161161    AutoCaller autoCaller (this);
     
    172172}
    173173
    174 STDMETHODIMP DhcpServer::COMGETTER(IPAddress) (BSTR *aIPAddress)
     174STDMETHODIMP DHCPServer::COMGETTER(IPAddress) (BSTR *aIPAddress)
    175175{
    176176    CheckComArgOutPointerValid(aIPAddress);
     
    184184}
    185185
    186 STDMETHODIMP DhcpServer::COMGETTER(NetworkMask) (BSTR *aNetworkMask)
     186STDMETHODIMP DHCPServer::COMGETTER(NetworkMask) (BSTR *aNetworkMask)
    187187{
    188188    CheckComArgOutPointerValid(aNetworkMask);
     
    196196}
    197197
    198 STDMETHODIMP DhcpServer::COMGETTER(LowerIP) (BSTR *aIPAddress)
     198STDMETHODIMP DHCPServer::COMGETTER(LowerIP) (BSTR *aIPAddress)
    199199{
    200200    CheckComArgOutPointerValid(aIPAddress);
     
    208208}
    209209
    210 STDMETHODIMP DhcpServer::COMGETTER(UpperIP) (BSTR *aIPAddress)
     210STDMETHODIMP DHCPServer::COMGETTER(UpperIP) (BSTR *aIPAddress)
    211211{
    212212    CheckComArgOutPointerValid(aIPAddress);
     
    220220}
    221221
    222 STDMETHODIMP DhcpServer::SetConfiguration (IN_BSTR aIPAddress, IN_BSTR aNetworkMask, IN_BSTR aLowerIP, IN_BSTR aUpperIP)
     222STDMETHODIMP DHCPServer::SetConfiguration (IN_BSTR aIPAddress, IN_BSTR aNetworkMask, IN_BSTR aLowerIP, IN_BSTR aUpperIP)
    223223{
    224224    AssertReturn (aIPAddress != NULL, E_INVALIDARG);
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