From 6a903090885057e3ae5cec2fe8011508ca68686e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Apr 2012 23:17:29 +0000 Subject: Add missing URI defines. --- lv2/lv2plug.in/ns/ext/midi/midi.h | 81 +++++++++++++++++---------------- lv2/lv2plug.in/ns/ext/presets/presets.h | 7 ++- lv2/lv2plug.in/ns/extensions/ui/ui.h | 2 + 3 files changed, 46 insertions(+), 44 deletions(-) (limited to 'lv2') diff --git a/lv2/lv2plug.in/ns/ext/midi/midi.h b/lv2/lv2plug.in/ns/ext/midi/midi.h index 60b6ffa..6d61543 100644 --- a/lv2/lv2plug.in/ns/ext/midi/midi.h +++ b/lv2/lv2plug.in/ns/ext/midi/midi.h @@ -22,46 +22,47 @@ #ifndef LV2_MIDI_H #define LV2_MIDI_H -#define LV2_MIDI_URI "http://lv2plug.in/ns/ext/midi" +#define LV2_MIDI_URI "http://lv2plug.in/ns/ext/midi" +#define LV2_MIDI_PREFIX LV2_MIDI_URI "#" -#define LV2_MIDI__ActiveSense LV2_MIDI_URI "#ActiveSense" -#define LV2_MIDI__Aftertouch LV2_MIDI_URI "#Aftertouch" -#define LV2_MIDI__Bender LV2_MIDI_URI "#Bender" -#define LV2_MIDI__ChannelPressure LV2_MIDI_URI "#ChannelPressure" -#define LV2_MIDI__Chunk LV2_MIDI_URI "#Chunk" -#define LV2_MIDI__Clock LV2_MIDI_URI "#Clock" -#define LV2_MIDI__Continue LV2_MIDI_URI "#Continue" -#define LV2_MIDI__Controller LV2_MIDI_URI "#Controller" -#define LV2_MIDI__MidiEvent LV2_MIDI_URI "#MidiEvent" -#define LV2_MIDI__NoteOff LV2_MIDI_URI "#NoteOff" -#define LV2_MIDI__NoteOn LV2_MIDI_URI "#NoteOn" -#define LV2_MIDI__ProgramChange LV2_MIDI_URI "#ProgramChange" -#define LV2_MIDI__QuarterFrame LV2_MIDI_URI "#QuarterFrame" -#define LV2_MIDI__Reset LV2_MIDI_URI "#Reset" -#define LV2_MIDI__SongPosition LV2_MIDI_URI "#SongPosition" -#define LV2_MIDI__SongSelect LV2_MIDI_URI "#SongSelect" -#define LV2_MIDI__Start LV2_MIDI_URI "#Start" -#define LV2_MIDI__Stop LV2_MIDI_URI "#Stop" -#define LV2_MIDI__SystemCommon LV2_MIDI_URI "#SystemCommon" -#define LV2_MIDI__SystemExclusive LV2_MIDI_URI "#SystemExclusive" -#define LV2_MIDI__SystemMessage LV2_MIDI_URI "#SystemMessage" -#define LV2_MIDI__SystemRealtime LV2_MIDI_URI "#SystemRealtime" -#define LV2_MIDI__Tick LV2_MIDI_URI "#Tick" -#define LV2_MIDI__TuneRequest LV2_MIDI_URI "#TuneRequest" -#define LV2_MIDI__VoiceMessage LV2_MIDI_URI "#VoiceMessage" -#define LV2_MIDI__benderValue LV2_MIDI_URI "#benderValue" -#define LV2_MIDI__byteNumber LV2_MIDI_URI "#byteNumber" -#define LV2_MIDI__chunk LV2_MIDI_URI "#chunk" -#define LV2_MIDI__controllerNumber LV2_MIDI_URI "#controllerNumber" -#define LV2_MIDI__controllerValue LV2_MIDI_URI "#controllerValue" -#define LV2_MIDI__noteNumber LV2_MIDI_URI "#noteNumber" -#define LV2_MIDI__pressure LV2_MIDI_URI "#pressure" -#define LV2_MIDI__programNumber LV2_MIDI_URI "#programNumber" -#define LV2_MIDI__property LV2_MIDI_URI "#property" -#define LV2_MIDI__songNumber LV2_MIDI_URI "#songNumber" -#define LV2_MIDI__songPosition LV2_MIDI_URI "#songPosition" -#define LV2_MIDI__status LV2_MIDI_URI "#status" -#define LV2_MIDI__statusMask LV2_MIDI_URI "#statusMask" -#define LV2_MIDI__velocity LV2_MIDI_URI "#velocity" +#define LV2_MIDI__ActiveSense LV2_MIDI_PREFIX "ActiveSense" +#define LV2_MIDI__Aftertouch LV2_MIDI_PREFIX "Aftertouch" +#define LV2_MIDI__Bender LV2_MIDI_PREFIX "Bender" +#define LV2_MIDI__ChannelPressure LV2_MIDI_PREFIX "ChannelPressure" +#define LV2_MIDI__Chunk LV2_MIDI_PREFIX "Chunk" +#define LV2_MIDI__Clock LV2_MIDI_PREFIX "Clock" +#define LV2_MIDI__Continue LV2_MIDI_PREFIX "Continue" +#define LV2_MIDI__Controller LV2_MIDI_PREFIX "Controller" +#define LV2_MIDI__MidiEvent LV2_MIDI_PREFIX "MidiEvent" +#define LV2_MIDI__NoteOff LV2_MIDI_PREFIX "NoteOff" +#define LV2_MIDI__NoteOn LV2_MIDI_PREFIX "NoteOn" +#define LV2_MIDI__ProgramChange LV2_MIDI_PREFIX "ProgramChange" +#define LV2_MIDI__QuarterFrame LV2_MIDI_PREFIX "QuarterFrame" +#define LV2_MIDI__Reset LV2_MIDI_PREFIX "Reset" +#define LV2_MIDI__SongPosition LV2_MIDI_PREFIX "SongPosition" +#define LV2_MIDI__SongSelect LV2_MIDI_PREFIX "SongSelect" +#define LV2_MIDI__Start LV2_MIDI_PREFIX "Start" +#define LV2_MIDI__Stop LV2_MIDI_PREFIX "Stop" +#define LV2_MIDI__SystemCommon LV2_MIDI_PREFIX "SystemCommon" +#define LV2_MIDI__SystemExclusive LV2_MIDI_PREFIX "SystemExclusive" +#define LV2_MIDI__SystemMessage LV2_MIDI_PREFIX "SystemMessage" +#define LV2_MIDI__SystemRealtime LV2_MIDI_PREFIX "SystemRealtime" +#define LV2_MIDI__Tick LV2_MIDI_PREFIX "Tick" +#define LV2_MIDI__TuneRequest LV2_MIDI_PREFIX "TuneRequest" +#define LV2_MIDI__VoiceMessage LV2_MIDI_PREFIX "VoiceMessage" +#define LV2_MIDI__benderValue LV2_MIDI_PREFIX "benderValue" +#define LV2_MIDI__byteNumber LV2_MIDI_PREFIX "byteNumber" +#define LV2_MIDI__chunk LV2_MIDI_PREFIX "chunk" +#define LV2_MIDI__controllerNumber LV2_MIDI_PREFIX "controllerNumber" +#define LV2_MIDI__controllerValue LV2_MIDI_PREFIX "controllerValue" +#define LV2_MIDI__noteNumber LV2_MIDI_PREFIX "noteNumber" +#define LV2_MIDI__pressure LV2_MIDI_PREFIX "pressure" +#define LV2_MIDI__programNumber LV2_MIDI_PREFIX "programNumber" +#define LV2_MIDI__property LV2_MIDI_PREFIX "property" +#define LV2_MIDI__songNumber LV2_MIDI_PREFIX "songNumber" +#define LV2_MIDI__songPosition LV2_MIDI_PREFIX "songPosition" +#define LV2_MIDI__status LV2_MIDI_PREFIX "status" +#define LV2_MIDI__statusMask LV2_MIDI_PREFIX "statusMask" +#define LV2_MIDI__velocity LV2_MIDI_PREFIX "velocity" #endif /* LV2_MIDI_H */ diff --git a/lv2/lv2plug.in/ns/ext/presets/presets.h b/lv2/lv2plug.in/ns/ext/presets/presets.h index cab1775..4851feb 100644 --- a/lv2/lv2plug.in/ns/ext/presets/presets.h +++ b/lv2/lv2plug.in/ns/ext/presets/presets.h @@ -27,9 +27,8 @@ #define LV2_PRESETS_URI "http://lv2plug.in/ns/ext/presets" #define LV2_PRESETS_PREFIX LV2_PRESETS_URI "#" -#define LV2_PRESETS__Preset LV2_PRESETS_PREFIX "Preset" -#define LV2_PRESETS__appliesTo LV2_PRESETS_PREFIX "appliesTo" -#define LV2_PRESETS__preset LV2_PRESETS_PREFIX "preset" -#define LV2_PRESETS__value LV2_PRESETS_PREFIX "value" +#define LV2_PRESETS__Preset LV2_PRESETS_PREFIX "Preset" +#define LV2_PRESETS__preset LV2_PRESETS_PREFIX "preset" +#define LV2_PRESETS__value LV2_PRESETS_PREFIX "value" #endif /* LV2_PRESETS_H */ diff --git a/lv2/lv2plug.in/ns/extensions/ui/ui.h b/lv2/lv2plug.in/ns/extensions/ui/ui.h index 43d0307..3bb89ad 100644 --- a/lv2/lv2plug.in/ns/extensions/ui/ui.h +++ b/lv2/lv2plug.in/ns/extensions/ui/ui.h @@ -36,6 +36,7 @@ #define LV2_UI__Qt4UI LV2_UI_PREFIX "Qt4UI" #define LV2_UI__UI LV2_UI_PREFIX "UI" #define LV2_UI__X11UI LV2_UI_PREFIX "X11UI" +#define LV2_UI__binary LV2_UI_PREFIX "binary" #define LV2_UI__fixedSize LV2_UI_PREFIX "fixedSize" #define LV2_UI__noUserResize LV2_UI_PREFIX "noUserResize" #define LV2_UI__notifyType LV2_UI_PREFIX "notifyType" @@ -47,6 +48,7 @@ #define LV2_UI__portSubscribe LV2_UI_PREFIX "portSubscribe" #define LV2_UI__resize LV2_UI_PREFIX "resize" #define LV2_UI__touch LV2_UI_PREFIX "touch" +#define LV2_UI__ui LV2_UI_PREFIX "ui" /** The index returned by LV2_UI_Port_Port::port_index() for unknown ports. -- cgit v1.2.1