Move network related code to core/net.

This commit is contained in:
Vladimir Golovnev (Glassez) 2015-04-13 19:02:48 +03:00
commit 4b5e7e6168
14 changed files with 154 additions and 70 deletions

View file

@ -29,7 +29,7 @@
#include "webui.h"
#include "http/server.h"
#include "webapplication.h"
#include "dnsupdater.h"
#include "core/net/dnsupdater.h"
#include "preferences.h"
#include "logger.h"
@ -82,7 +82,7 @@ void WebUI::init()
// DynDNS
if (pref->isDynDNSEnabled()) {
if (!dynDNSUpdater_)
dynDNSUpdater_ = new DNSUpdater(this);
dynDNSUpdater_ = new Net::DNSUpdater(this);
else
dynDNSUpdater_->updateCredentials();
}