v1.1.20 Release

This commit is contained in:
Robin Davies
2023-04-20 15:27:18 -04:00
parent e2b62da073
commit 37426d9047
117 changed files with 2147 additions and 711 deletions
+13 -2
View File
@@ -35,8 +35,17 @@
namespace pipedal {
class LogFeature {
public:
class LogMessageListener {
public:
virtual void OnLogError(const char*message) = 0;
virtual void OnLogWarning(const char*message) = 0;
virtual void OnLogInfo(const char*message) = 0;
virtual void OnLogDebug(const char*message) = 0;
};
private:
LogMessageListener *logMessageListener = nullptr;
std::string messagePrefix;
LV2_URID nextAtom = 0;
LV2_Feature feature;
LV2_Log_Log log;
@@ -59,7 +68,8 @@ namespace pipedal {
public:
LogFeature();
void Prepare(MapFeature* map);
void Prepare(MapFeature* map, const std::string &messagePrefix, LogMessageListener*listener);
void LogError(const char*fmt,...);
void LogWarning(const char*fmt,...);
@@ -84,5 +94,6 @@ namespace pipedal {
int vprintf(LV2_URID type, const char* fmt, va_list va);
};
}