]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/serversocket.h
Decorate things which constitute the public API
[libs/net.git] / source / net / serversocket.h
index 48ab9bab441172f62b3ba0f94c418bbfb034b9eb..8c082b3772f9dc44451d8bf84d281780bd817cfb 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_NET_SERVERSOCKET_H_
 #define MSP_NET_SERVERSOCKET_H_
 
+#include "mspnet_api.h"
 #include "socket.h"
 
 namespace Msp {
@@ -12,7 +13,7 @@ class ClientSocket;
 ServerSockets are used to receive incoming connections.  They cannot be used
 for sending and receiving data.
 */
-class ServerSocket: public Socket
+class MSPNET_API ServerSocket: public Socket
 {
 protected:
        ServerSocket(Family, int, int);