From 3f078c99f6be160641b1c4782d2653b9d76a5ca8 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 6 May 2021 02:48:18 +0200 Subject: Rename `IP_Unix`, `IP_Address` and `TCP_Server` to remove underscores --- core/io/tcp_server.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'core/io/tcp_server.h') diff --git a/core/io/tcp_server.h b/core/io/tcp_server.h index 58c04d87ec..abefa53c6f 100644 --- a/core/io/tcp_server.h +++ b/core/io/tcp_server.h @@ -36,8 +36,8 @@ #include "core/io/stream_peer.h" #include "core/io/stream_peer_tcp.h" -class TCP_Server : public Reference { - GDCLASS(TCP_Server, Reference); +class TCPServer : public Reference { + GDCLASS(TCPServer, Reference); protected: enum { @@ -48,7 +48,7 @@ protected: static void _bind_methods(); public: - Error listen(uint16_t p_port, const IP_Address &p_bind_address = IP_Address("*")); + Error listen(uint16_t p_port, const IPAddress &p_bind_address = IPAddress("*")); int get_local_port() const; bool is_listening() const; bool is_connection_available() const; @@ -56,8 +56,8 @@ public: void stop(); // Stop listening - TCP_Server(); - ~TCP_Server(); + TCPServer(); + ~TCPServer(); }; #endif // TCP_SERVER_H -- cgit v1.2.3