diff options
Diffstat (limited to 'Swiften/LinkLocal/LinkLocalServiceInfo.h')
| -rw-r--r-- | Swiften/LinkLocal/LinkLocalServiceInfo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/LinkLocal/LinkLocalServiceInfo.h b/Swiften/LinkLocal/LinkLocalServiceInfo.h index 9f15c6e..eb65706 100644 --- a/Swiften/LinkLocal/LinkLocalServiceInfo.h +++ b/Swiften/LinkLocal/LinkLocalServiceInfo.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010-2016 Isode Limited. | 2 | * Copyright (c) 2010-2018 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -43,8 +43,8 @@ namespace Swift { | |||
| 43 | Status getStatus() const { return status; } | 43 | Status getStatus() const { return status; } |
| 44 | void setStatus(Status s) { status = s; } | 44 | void setStatus(Status s) { status = s; } |
| 45 | 45 | ||
| 46 | boost::optional<int> getPort() const { return port; } | 46 | boost::optional<unsigned short> getPort() const { return port; } |
| 47 | void setPort(int p) { port = p; } | 47 | void setPort(unsigned short p) { port = p; } |
| 48 | 48 | ||
| 49 | ByteArray toTXTRecord() const; | 49 | ByteArray toTXTRecord() const; |
| 50 | 50 | ||
| @@ -62,6 +62,6 @@ namespace Swift { | |||
| 62 | std::string message; | 62 | std::string message; |
| 63 | std::string nick; | 63 | std::string nick; |
| 64 | Status status; | 64 | Status status; |
| 65 | boost::optional<int> port; | 65 | boost::optional<unsigned short> port; |
| 66 | }; | 66 | }; |
| 67 | } | 67 | } |
Swift