diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-09-27 23:51:34 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-09-27 23:51:34 +0200 |
commit | a7a285eb61dd83afc892bc1d64ffe14b9f1426a3 (patch) | |
tree | 08d2efcaec46e5f5702d9e336a0e8ba7e636aff9 /src/Net/Listener.h | |
parent | b40ba0cf91603b695f1f2380cbd39966a458f22f (diff) | |
download | mad-a7a285eb61dd83afc892bc1d64ffe14b9f1426a3.tar mad-a7a285eb61dd83afc892bc1d64ffe14b9f1426a3.zip |
Completely migrate to Unicode String class
Diffstat (limited to 'src/Net/Listener.h')
-rw-r--r-- | src/Net/Listener.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Net/Listener.h b/src/Net/Listener.h index 598ea2f..46ad4f2 100644 --- a/src/Net/Listener.h +++ b/src/Net/Listener.h @@ -23,7 +23,6 @@ #include "export.h" #include <map> -#include <string> #include "Connection.h" #include <Core/Exception.h> @@ -37,7 +36,7 @@ class MAD_NET_EXPORT Listener : private boost::noncopyable { boost::mutex mutex; - std::string x905CertFile, x905KeyFile; + Core::String x905CertFile, x905KeyFile; boost::asio::ip::tcp::endpoint address; boost::shared_ptr<boost::asio::ssl::context> context; boost::asio::ip::tcp::acceptor acceptor; @@ -53,7 +52,7 @@ class MAD_NET_EXPORT Listener : private boost::noncopyable { void handleDisconnect(boost::shared_ptr<Connection> con); public: - Listener(Core::Application *application0, const std::string &x905CertFile0, const std::string &x905KeyFile0, + Listener(Core::Application *application0, const Core::String &x905CertFile0, const Core::String &x905KeyFile0, const boost::asio::ip::tcp::endpoint &address0) throw(Core::Exception); virtual ~Listener(); |