sources/interface.h

changeset 186
9330b93d9946
parent 183
9b6a0daedfc0
child 189
248d0b85cbda
--- a/sources/interface.h	Wed Jan 27 14:16:58 2021 +0200
+++ b/sources/interface.h	Wed Jan 27 18:55:03 2021 +0200
@@ -83,7 +83,7 @@
 	std::string m_title;
 	InputState m_inputState;
 	std::function<void(bool)> m_disconnectCallback;
-	IPAddress m_remoteAddress;
+	net::ip_address m_remoteAddress;
 	std::string m_statusBarText;
 	std::vector<ColoredLine> m_playerNames;
 	std::string m_pasteBuffer;
@@ -111,6 +111,7 @@
 	void safeDisconnect(std::function<void(bool)> afterwards);
 	void setInputState(InputState newstate);
 	void yank(int a, int b);
+	bool tryResolveAddress(const std::string& address_string, net::ip_address *target);
 };
 
 END_ZFC_NAMESPACE
\ No newline at end of file

mercurial