VirtualBox

Ignore:
Timestamp:
Oct 2, 2013 5:16:26 AM (11 years ago)
Author:
vboxsync
Message:

Main: HostDnsServiceWin::init(void) -> HostDnsServiceWin::init(const VirtualBox *aParent) and firing event on update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostDnsService.cpp

    r48340 r48805  
    2020#include <VBox/com/string.h>
    2121
     22#include <iprt/cpp/utils.h>
     23
     24#include "VirtualBoxImpl.h"
    2225#include "HostDnsService.h"
    2326#include <iprt/thread.h>
     
    3336
    3437
    35 HRESULT HostDnsService::init (void)
     38HRESULT HostDnsService::init(const VirtualBox *aParent)
    3639{
     40    mParent = aParent;
     41   
    3742    int rc = RTCritSectInit(&m_hCritSect);
    3843    AssertRCReturn(rc, E_FAIL);
     
    5156HRESULT HostDnsService::update()
    5257{
     58    unconst(mParent)->onHostNameResolutionConfigurationChange();
    5359    return S_OK;
    5460}
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