mirror of
https://github.com/clangen/musikcube.git
synced 2025-02-06 12:39:54 +00:00
Links but bombs immediately during startup.
This commit is contained in:
parent
fdd5a5bbb7
commit
ceb744da2f
@ -82,16 +82,16 @@ namespace musik {
|
||||
EXPORT virtual void error(const std::string& tag, const std::string& string) override;
|
||||
};
|
||||
|
||||
static void Start(std::vector<IBackend*> backends = { new SimpleFileBackend() });
|
||||
static void Shutdown();
|
||||
static EXPORT void Start(std::vector<IBackend*> backends = { new SimpleFileBackend() });
|
||||
static EXPORT void Shutdown();
|
||||
|
||||
static void verbose(const std::string& tag, const std::string& string) noexcept;
|
||||
static void v(const std::string& tag, const std::string& string) noexcept;
|
||||
static void info(const std::string& tag, const std::string& string) noexcept;
|
||||
static void i(const std::string& tag, const std::string& string) noexcept;
|
||||
static void warning(const std::string& tag, const std::string& string) noexcept;
|
||||
static void w(const std::string& tag, const std::string& string) noexcept;
|
||||
static void error(const std::string& tag, const std::string& string) noexcept;
|
||||
static void e(const std::string& tag, const std::string& string) noexcept;
|
||||
static EXPORT void verbose(const std::string& tag, const std::string& string) noexcept;
|
||||
static EXPORT void v(const std::string& tag, const std::string& string) noexcept;
|
||||
static EXPORT void info(const std::string& tag, const std::string& string) noexcept;
|
||||
static EXPORT void i(const std::string& tag, const std::string& string) noexcept;
|
||||
static EXPORT void warning(const std::string& tag, const std::string& string) noexcept;
|
||||
static EXPORT void w(const std::string& tag, const std::string& string) noexcept;
|
||||
static EXPORT void error(const std::string& tag, const std::string& string) noexcept;
|
||||
static EXPORT void e(const std::string& tag, const std::string& string) noexcept;
|
||||
};
|
||||
}
|
||||
|
@ -55,9 +55,9 @@ namespace musik { namespace core {
|
||||
|
||||
EXPORT ~LibraryFactory();
|
||||
|
||||
static void Initialize(IMessageQueue& messageQueue);
|
||||
static LibraryFactory& Instance();
|
||||
static void Shutdown();
|
||||
static EXPORT void Initialize(IMessageQueue& messageQueue);
|
||||
static EXPORT LibraryFactory& Instance();
|
||||
static EXPORT void Shutdown();
|
||||
|
||||
EXPORT ILibraryPtr DefaultLocalLibrary();
|
||||
EXPORT ILibraryPtr DefaultRemoteLibrary();
|
||||
|
@ -74,8 +74,8 @@ namespace musik { namespace core { namespace net {
|
||||
|
||||
sigslot::signal3<PiggyWebSocketClient*, State, State> StateChanged;
|
||||
|
||||
static std::shared_ptr<PiggyWebSocketClient> Instance(MessageQueue* messageQueue);
|
||||
static void Shutdown();
|
||||
static EXPORT std::shared_ptr<PiggyWebSocketClient> Instance(MessageQueue* messageQueue);
|
||||
static EXPORT void Shutdown();
|
||||
|
||||
EXPORT PiggyWebSocketClient(const PiggyWebSocketClient&) = delete;
|
||||
EXPORT virtual ~PiggyWebSocketClient();
|
||||
|
@ -55,18 +55,18 @@ namespace musik { namespace core {
|
||||
|
||||
class PluginFactory {
|
||||
public:
|
||||
static PluginFactory& Instance();
|
||||
static EXPORT PluginFactory& Instance();
|
||||
|
||||
template <typename T>
|
||||
struct ReleaseDeleter {
|
||||
EXPORT void operator()(T* t) {
|
||||
void operator()(T* t) {
|
||||
t->Release();
|
||||
}
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
struct NullDeleter {
|
||||
EXPORT void operator()(T* t) {
|
||||
void operator()(T* t) {
|
||||
}
|
||||
};
|
||||
|
||||
@ -134,7 +134,7 @@ namespace musik { namespace core {
|
||||
}
|
||||
}
|
||||
|
||||
std::shared_ptr<musik::core::sdk::IPlugin> QueryGuid(const std::string& guid) {
|
||||
EXPORT std::shared_ptr<musik::core::sdk::IPlugin> QueryGuid(const std::string& guid) {
|
||||
using T = musik::core::sdk::IPlugin;
|
||||
std::shared_ptr<T> result;
|
||||
using Deleter = PluginFactory::ReleaseDeleter<T>;
|
||||
|
@ -47,7 +47,7 @@ namespace musik { namespace core { namespace runtime {
|
||||
int64_t data2);
|
||||
|
||||
public:
|
||||
static IMessagePtr Create(
|
||||
static EXPORT IMessagePtr Create(
|
||||
IMessageTarget* target,
|
||||
int messageType,
|
||||
int64_t data1 = 0LL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user