From: Mikko Rasa Date: Sat, 6 Aug 2011 21:00:09 +0000 (+0300) Subject: Move signal_connect_finished to ClientSocket X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=009bd2e2d467f9b9c0d83c8f428ffdf109a5c6ad;p=libs%2Fnet.git Move signal_connect_finished to ClientSocket --- 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 &);