aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-05 21:28:57 +0000
committerDavid Robillard <d@drobilla.net>2012-04-05 21:28:57 +0000
commit8aa5cb13862333a784d197e5428fbd7284f0eee0 (patch)
tree0fba06119437eefa316bfd8888a3fcbb3422239b /src/jalv_internal.h
parent308374bd26ec9bb4fe7854ea55e8de84c040b4fe (diff)
downloadjalv-8aa5cb13862333a784d197e5428fbd7284f0eee0.tar.gz
jalv-8aa5cb13862333a784d197e5428fbd7284f0eee0.tar.bz2
jalv-8aa5cb13862333a784d197e5428fbd7284f0eee0.zip
Implement log extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4146 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 6378ec0..ccc398c 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -29,6 +29,7 @@
#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
#include "lv2/lv2plug.in/ns/ext/atom/forge.h"
+#include "lv2/lv2plug.in/ns/ext/log/log.h"
#include "lv2/lv2plug.in/ns/ext/state/state.h"
#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
#include "lv2/lv2plug.in/ns/ext/worker/worker.h"
@@ -89,9 +90,10 @@ typedef struct {
typedef struct {
LV2_URID atom_eventTransfer;
+ LV2_URID log_Trace;
LV2_URID time_Position;
- LV2_URID time_barBeat;
LV2_URID time_bar;
+ LV2_URID time_barBeat;
LV2_URID time_beatUnit;
LV2_URID time_beatsPerBar;
LV2_URID time_beatsPerMinute;
@@ -255,6 +257,17 @@ jalv_strjoin(const char* a, const char* b)
return out;
}
+int
+jalv_printf(LV2_Log_Handle handle,
+ LV2_URID type,
+ const char* fmt, ...);
+
+int
+jalv_vprintf(LV2_Log_Handle handle,
+ LV2_URID type,
+ const char* fmt,
+ va_list ap);
+
#ifdef __cplusplus
} // extern "C"
#endif