summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/NetworkInterface.h')
-rw-r--r--Swiften/Network/NetworkInterface.h12
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;
};
}