diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-01-18 06:01:05 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-01-18 06:01:05 (GMT) |
commit | a82fbee158bb117e5746fe097505d0a8035bb7d1 (patch) | |
tree | 5c41d207d278e17aeb90d5e2c83b359426b86116 /src/plugins/bearer/nla | |
parent | a30021ded7501bb122c8f3c37cc9ced96e00e7d2 (diff) | |
download | Qt-a82fbee158bb117e5746fe097505d0a8035bb7d1.zip Qt-a82fbee158bb117e5746fe097505d0a8035bb7d1.tar.gz Qt-a82fbee158bb117e5746fe097505d0a8035bb7d1.tar.bz2 |
Make compile on Windows.
Diffstat (limited to 'src/plugins/bearer/nla')
-rw-r--r-- | src/plugins/bearer/nla/nla.pro | 7 | ||||
-rw-r--r-- | src/plugins/bearer/nla/qnlaengine.cpp | 7 | ||||
-rw-r--r-- | src/plugins/bearer/nla/qnlaengine.h | 2 |
3 files changed, 14 insertions, 2 deletions
diff --git a/src/plugins/bearer/nla/nla.pro b/src/plugins/bearer/nla/nla.pro index 62a920a..9bd3526 100644 --- a/src/plugins/bearer/nla/nla.pro +++ b/src/plugins/bearer/nla/nla.pro @@ -10,8 +10,11 @@ QT += network } HEADERS += qnlaengine.h \ - ../platformdefs_win.h -SOURCES += qnlaengine.cpp main.cpp + ../platformdefs_win.h \ + ../qnetworksession_impl.h +SOURCES += main.cpp \ + qnlaengine.cpp \ + ../qnetworksession_impl.cpp QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/bearer target.path += $$[QT_INSTALL_PLUGINS]/bearer diff --git a/src/plugins/bearer/nla/qnlaengine.cpp b/src/plugins/bearer/nla/qnlaengine.cpp index d3e3fd2..6c90429 100644 --- a/src/plugins/bearer/nla/qnlaengine.cpp +++ b/src/plugins/bearer/nla/qnlaengine.cpp @@ -40,6 +40,8 @@ ****************************************************************************/ #include "qnlaengine.h" +#include "../qnetworksession_impl.h" + #include <QtNetwork/private/qnetworkconfiguration_p.h> #include <QtCore/qthread.h> @@ -636,6 +638,11 @@ QNetworkConfigurationManager::Capabilities QNlaEngine::capabilities() const return QNetworkConfigurationManager::ForcedRoaming; } +QNetworkSessionPrivate *QNlaEngine::createSessionBackend() +{ + return new QNetworkSessionPrivateImpl; +} + #include "qnlaengine.moc" QT_END_NAMESPACE diff --git a/src/plugins/bearer/nla/qnlaengine.h b/src/plugins/bearer/nla/qnlaengine.h index 5e80db1..5f0c294 100644 --- a/src/plugins/bearer/nla/qnlaengine.h +++ b/src/plugins/bearer/nla/qnlaengine.h @@ -95,6 +95,8 @@ public: QNetworkConfigurationManager::Capabilities capabilities() const; + QNetworkSessionPrivate *createSessionBackend(); + private Q_SLOTS: void networksChanged(); |