diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-09-26 20:50:17 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-09-26 20:59:50 (GMT) |
commit | 694cc7318b92aed079badb3cc22428ab108591cf (patch) | |
tree | 6b41862164d7e65fef8818778b42fa9f46fc81c4 /Swiften/Network/NetworkInterface.h | |
parent | 4b61e7363dbc0e8bf595da06840db4175e3b86c3 (diff) | |
download | swift-contrib-694cc7318b92aed079badb3cc22428ab108591cf.zip swift-contrib-694cc7318b92aed079badb3cc22428ab108591cf.tar.bz2 |
Windows NetworkEnvironment fixes.
Diffstat (limited to 'Swiften/Network/NetworkInterface.h')
-rw-r--r-- | Swiften/Network/NetworkInterface.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Swiften/Network/NetworkInterface.h b/Swiften/Network/NetworkInterface.h index 6395758..1d302cb 100644 --- a/Swiften/Network/NetworkInterface.h +++ b/Swiften/Network/NetworkInterface.h @@ -13,16 +13,7 @@ namespace Swift { class NetworkInterface { public: - enum Type { - Unknown, - WLAN, - Ethernet, - Mobile, - VPN, - }; - - public: - NetworkInterface(const std::string& name, bool loopback, Type type = Unknown) : name(name), loopback(loopback), type(type) { + NetworkInterface(const std::string& name, bool loopback) : name(name), loopback(loopback) { } void addAddress(const HostAddress& address) { @@ -44,7 +35,6 @@ namespace Swift { private: std::string name; bool loopback; - Type type; std::vector<HostAddress> addresses; }; } |