diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-09-17 18:01:03 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-09-17 18:01:03 (GMT) |
commit | 3d6aa3b50090c19b50ae488494f1459bade88da3 (patch) | |
tree | 60db50a40f01d2dc4b48e5aee1011f0e72643c39 /Swiften/Network/StaticDomainNameResolver.h | |
parent | 7693734b10699b5fc4bfc3d7dc33128d558e202d (diff) | |
download | swift-contrib-3d6aa3b50090c19b50ae488494f1459bade88da3.zip swift-contrib-3d6aa3b50090c19b50ae488494f1459bade88da3.tar.bz2 |
Support for building swiften as a DLL
Added missing SWIFTEN_API declarations.
Changed test infrastructure to extend path before running
tests.
Diffstat (limited to 'Swiften/Network/StaticDomainNameResolver.h')
-rw-r--r-- | Swiften/Network/StaticDomainNameResolver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Network/StaticDomainNameResolver.h b/Swiften/Network/StaticDomainNameResolver.h index 29d1629..386179b 100644 --- a/Swiften/Network/StaticDomainNameResolver.h +++ b/Swiften/Network/StaticDomainNameResolver.h @@ -9,6 +9,7 @@ #include <vector> #include <map> +#include <Swiften/Base/API.h> #include <Swiften/Network/HostAddress.h> #include <Swiften/Network/HostAddressPort.h> #include <Swiften/Network/DomainNameResolver.h> @@ -17,7 +18,7 @@ #include <Swiften/EventLoop/EventLoop.h> namespace Swift { - class StaticDomainNameResolver : public DomainNameResolver { + class SWIFTEN_API StaticDomainNameResolver : public DomainNameResolver { public: typedef std::map<std::string, std::vector<HostAddress> > AddressesMap; typedef std::vector< std::pair<std::string, DomainNameServiceQuery::Result> > ServicesCollection; |