Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
uris.h
1// SPDX-FileCopyrightText: 2006 Steve Harris <steve@plugin.org.uk>
2// SPDX-License-Identifier: ISC
3
4/*
5 LV2 Fifths Example Plugin
6*/
7
8#ifndef FIFTHS_URIS_H
9#define FIFTHS_URIS_H
10
11#include <lv2/atom/atom.h>
12#include <lv2/log/log.h>
13#include <lv2/midi/midi.h>
14#include <lv2/patch/patch.h>
15#include <lv2/state/state.h>
16
17#define EG_FIFTHS_URI "http://lv2plug.in/plugins/eg-fifths"
18
19typedef struct
20{
21 LV2_URID atom_Path;
22 LV2_URID atom_Resource;
23 LV2_URID atom_Sequence;
24 LV2_URID atom_URID;
25 LV2_URID atom_eventTransfer;
26 LV2_URID midi_Event;
27 LV2_URID patch_Set;
28 LV2_URID patch_property;
29 LV2_URID patch_value;
31
32static inline void
33map_fifths_uris (LV2_URID_Map * map, FifthsURIs * uris)
34{
35 uris->atom_Path = map->map (map->handle, LV2_ATOM__Path);
36 uris->atom_Resource = map->map (map->handle, LV2_ATOM__Resource);
37 uris->atom_Sequence = map->map (map->handle, LV2_ATOM__Sequence);
38 uris->atom_URID = map->map (map->handle, LV2_ATOM__URID);
39 uris->atom_eventTransfer = map->map (map->handle, LV2_ATOM__eventTransfer);
40 uris->midi_Event = map->map (map->handle, LV2_MIDI__MidiEvent);
41 uris->patch_Set = map->map (map->handle, LV2_PATCH__Set);
42 uris->patch_property = map->map (map->handle, LV2_PATCH__property);
43 uris->patch_value = map->map (map->handle, LV2_PATCH__value);
44}
45
46#endif /* FIFTHS_URIS_H */