diff options
Diffstat (limited to 'src/libktorrent/mse')
| -rw-r--r-- | src/libktorrent/mse/CMakeLists.txt | 16 | ||||
| -rw-r--r-- | src/libktorrent/mse/streamsocket.h | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/src/libktorrent/mse/CMakeLists.txt b/src/libktorrent/mse/CMakeLists.txt new file mode 100644 index 0000000..2d0d01c --- /dev/null +++ b/src/libktorrent/mse/CMakeLists.txt @@ -0,0 +1,16 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/.. + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### mse library (static) + +tde_add_library( mse STATIC_PIC AUTOMOC + SOURCES + bigint.cpp rc4encryptor.cpp streamsocket.cpp encryptedauthenticate.cpp + encryptedserverauthenticate.cpp functions.cpp + LINK + ${GMP_LIBRARIES} +) diff --git a/src/libktorrent/mse/streamsocket.h b/src/libktorrent/mse/streamsocket.h index c653e5d..0b3c234 100644 --- a/src/libktorrent/mse/streamsocket.h +++ b/src/libktorrent/mse/streamsocket.h @@ -23,6 +23,7 @@ #include <tqobject.h> #include <util/constants.h> #include <net/bufferedsocket.h> +#include <libktorrent_export.h> class TQString; @@ -52,7 +53,7 @@ namespace mse * not be used anymore, a SocketReader and SocketWriter should be provided, * so that reading and writing is controlled from the monitor thread. */ - class StreamSocket : public TQObject,public net::SocketReader,public net::SocketWriter + class LIBKTORRENT_EXPORT StreamSocket : public TQObject,public net::SocketReader,public net::SocketWriter { TQ_OBJECT |
