diff options
| author | Naios <naios-dev@live.de> | 2016-03-11 16:01:32 +0100 |
|---|---|---|
| committer | Naios <naios-dev@live.de> | 2016-03-24 01:29:00 +0100 |
| commit | 25b0e743b1a823b636ffc1ba17062f8d5ebe35ab (patch) | |
| tree | b09c015a89e0c10281681e9fb3f93785cd07134d /src/server/shared/Packets/ByteBuffer.h | |
| parent | 6cfea2d8f7de3de8206a1f4cf23a6d653814afe1 (diff) | |
Core/Shared: Converted the shared library to a shared library ,-).
* There is still the possibility to static link against shared.
Diffstat (limited to 'src/server/shared/Packets/ByteBuffer.h')
| -rw-r--r-- | src/server/shared/Packets/ByteBuffer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/shared/Packets/ByteBuffer.h b/src/server/shared/Packets/ByteBuffer.h index b8c6ee1c36e..2373e632c44 100644 --- a/src/server/shared/Packets/ByteBuffer.h +++ b/src/server/shared/Packets/ByteBuffer.h @@ -37,7 +37,7 @@ class MessageBuffer; // Root of ByteBuffer exception hierarchy -class ByteBufferException : public std::exception +class TC_SHARED_API ByteBufferException : public std::exception { public: ~ByteBufferException() throw() { } @@ -51,7 +51,7 @@ private: std::string msg_; }; -class ByteBufferPositionException : public ByteBufferException +class TC_SHARED_API ByteBufferPositionException : public ByteBufferException { public: ByteBufferPositionException(bool add, size_t pos, size_t size, size_t valueSize); @@ -59,7 +59,7 @@ public: ~ByteBufferPositionException() throw() { } }; -class ByteBufferSourceException : public ByteBufferException +class TC_SHARED_API ByteBufferSourceException : public ByteBufferException { public: ByteBufferSourceException(size_t pos, size_t size, size_t valueSize); @@ -67,7 +67,7 @@ public: ~ByteBufferSourceException() throw() { } }; -class ByteBuffer +class TC_SHARED_API ByteBuffer { public: static size_t const DEFAULT_SIZE = 0x1000; |
