X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fnet%2Fprotocol.h;fp=source%2Fnet%2Fprotocol.h;h=8068d3275ca292eea2317e9847725f90a0be7524;hp=f040a69ef1293665b3f38c79387706c04bf75e05;hb=394c9a732192fce9b3b453dfdb9e92400af2a4f8;hpb=0cd8309240cd48fdc16d9cc433297e33a0a2cdd0 diff --git a/source/net/protocol.h b/source/net/protocol.h index f040a69..8068d32 100644 --- a/source/net/protocol.h +++ b/source/net/protocol.h @@ -7,26 +7,27 @@ #include #include #include +#include "mspnet_api.h" #include "receiver.h" namespace Msp { namespace Net { -class bad_packet: public std::runtime_error +class MSPNET_API bad_packet: public std::runtime_error { public: bad_packet(const std::string &w): std::runtime_error(w) { } }; -class buffer_error: public std::runtime_error +class MSPNET_API buffer_error: public std::runtime_error { public: buffer_error(const std::string &w): std::runtime_error(w) { } }; -class Protocol +class MSPNET_API Protocol { private: template