VirtualBox

Changeset 49202 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Oct 21, 2013 3:01:10 AM (11 years ago)
Author:
vboxsync
Message:

Makefile.kmk: adds HostDnsServiceLinux.cpp to build on Linux host
HostDnsService.h: adds declarations of defined functions.

File:
1 edited

Legend:

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

    r48955 r49202  
    5252private:
    5353    const VirtualBox *mParent;
    54     HostDnsService(const HostDnsService& service){ NOREF(service); }
    55     HostDnsService& operator =(const HostDnsService& service){ NOREF(service); return *this; }
     54    HostDnsService(const HostDnsService&);
     55    HostDnsService& operator =(const HostDnsService&);
    5656};
    5757
     
    9898    virtual HRESULT init(const VirtualBox *aParent);
    9999    virtual HRESULT update();
     100    const com::Utf8Str resolvConf() {return m_ResolvConfFilename; }
    100101protected:
    101102    com::Utf8Str m_ResolvConfFilename;
     
    114115};
    115116#  elif defined(RT_OS_LINUX)
    116 /**
    117  * XXX: http://www.ibm.com/developerworks/linux/library/l-ubuntu-inotify/index.html
    118  */
    119117class HostDnsServiceLinux: public HostDnsServiceResolvConf
    120118{
     
    122120    HostDnsServiceLinux(){}
    123121    virtual ~HostDnsServiceLinux(){}
     122    virtual HRESULT init(const VirtualBox *aParent);
     123    virtual void stop(void);
     124
     125    static int hostMonitoringRoutine(RTTHREAD ThreadSelf, void *pvUser);
    124126};
    125127
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