From 9d1ea1e7cfa256c7f5cac027382d92f658734ccb Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 25 Jul 2019 17:49:16 +0200 Subject: Add generic logger interface for propagating messages while loading drumkits to the commandline and/or plugin UI. --- src/audiofile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/audiofile.h') diff --git a/src/audiofile.h b/src/audiofile.h index 5a5cc3a..e20d91f 100644 --- a/src/audiofile.h +++ b/src/audiofile.h @@ -36,6 +36,7 @@ #include "audio.h" #include "channel.h" +#include "logger.h" class InstrumentChannel; @@ -46,7 +47,7 @@ public: InstrumentChannel* instrument_channel = nullptr); ~AudioFile(); - void load(std::size_t sample_limit = std::numeric_limits::max()); + void load(LogFunction logger, std::size_t sample_limit = std::numeric_limits::max()); void unload(); bool isLoaded() const; -- cgit v1.2.3