From 009bd2e2d467f9b9c0d83c8f428ffdf109a5c6ad Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 7 Aug 2011 00:00:09 +0300 Subject: [PATCH] Move signal_connect_finished to ClientSocket --- source/clientsocket.h | 5 +++++ source/streamsocket.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/clientsocket.h b/source/clientsocket.h index e222a5f..c81e4cd 100644 --- a/source/clientsocket.h +++ b/source/clientsocket.h @@ -11,6 +11,11 @@ ClientSockets are used for sending and receiving data over the network. */ class ClientSocket: public Socket { +public: + /** Emitted when the socket finishes connecting. The argument is a + platform-dependent error code. */ + sigc::signal signal_connect_finished; + protected: bool connecting; bool connected; diff --git a/source/streamsocket.h b/source/streamsocket.h index 3fc6d04..8b39e91 100644 --- a/source/streamsocket.h +++ b/source/streamsocket.h @@ -10,11 +10,6 @@ class StreamSocket: public ClientSocket { friend class StreamServerSocket; -public: - /** Emitted when the socket finishes connecting. The argument is a - platform-dependent error code. */ - sigc::signal signal_connect_finished; - private: /// Used by StreamListenSocket to construct a new socket from accept. StreamSocket(const Private &, const SockAddr &); -- 2.43.0