From e3e21f0013a236ce9d378ec3ddc6ed3cf86d0e21 Mon Sep 17 00:00:00 2001 From: MFransen69 <39826971+MFransen69@users.noreply.github.com> Date: Wed, 10 Jul 2024 14:37:47 +0200 Subject: [PATCH] [Bluetooth] make some libraries load correclty (#43) --- Source/bluetooth/audio/SDPProfile.h | 2 +- Source/bluetooth/audio/codecs/SBC.h | 2 +- Source/bluetooth/gatt/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/bluetooth/audio/SDPProfile.h b/Source/bluetooth/audio/SDPProfile.h index fb100e2..55065c3 100644 --- a/Source/bluetooth/audio/SDPProfile.h +++ b/Source/bluetooth/audio/SDPProfile.h @@ -1212,7 +1212,7 @@ namespace SDP { ClientSocket& _socket; }; // class Client - class Server { + class EXTERNAL Server { using Handler = ServerSocket::ResponseHandler; public: diff --git a/Source/bluetooth/audio/codecs/SBC.h b/Source/bluetooth/audio/codecs/SBC.h index aada5cf..e480361 100644 --- a/Source/bluetooth/audio/codecs/SBC.h +++ b/Source/bluetooth/audio/codecs/SBC.h @@ -29,7 +29,7 @@ namespace Bluetooth { namespace A2DP { - class SBC : public IAudioCodec { + class EXTERNAL SBC : public IAudioCodec { public: static constexpr uint8_t CODEC_TYPE = 0x00; // SBC diff --git a/Source/bluetooth/gatt/CMakeLists.txt b/Source/bluetooth/gatt/CMakeLists.txt index 702f6b9..cf99854 100644 --- a/Source/bluetooth/gatt/CMakeLists.txt +++ b/Source/bluetooth/gatt/CMakeLists.txt @@ -40,6 +40,7 @@ set(PUBLIC_HEADERS add_library(${TARGET} GATTSocket.cpp GATTProfile.cpp + Module.cpp ) target_link_libraries(${TARGET}