]> git.tdb.fi Git - libs/net.git/commitdiff
Move signal_connect_finished to ClientSocket
authorMikko Rasa <tdb@tdb.fi>
Sat, 6 Aug 2011 21:00:09 +0000 (00:00 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 6 Aug 2011 21:00:09 +0000 (00:00 +0300)
source/clientsocket.h
source/streamsocket.h

index e222a5f221575c9093261409b02d190392dab3e4..c81e4cd530ba1317e6f576bdfb914e36b1b9976b 100644 (file)
@@ -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<void, int> signal_connect_finished;
+
 protected:
        bool connecting;
        bool connected;
index 3fc6d04c4e038acaa53a34f60f8f45ac0dbd4965..8b39e91afd358214168c977e299e01bc714d3e76 100644 (file)
@@ -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<void, int> signal_connect_finished;
-
 private:
        /// Used by StreamListenSocket to construct a new socket from accept.
        StreamSocket(const Private &, const SockAddr &);