LMMS
Loading...
Searching...
No Matches
midnam.h
Go to the documentation of this file.
1/*
2 Copyright 2016 Robin Gareus <robin@gareus.org>
3 Permission to use, copy, modify, and/or distribute this software for any
4 purpose with or without fee is hereby granted, provided that the above
5 copyright notice and this permission notice appear in all copies.
6 THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
7 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
8 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
9 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
10 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
11 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
12 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
13*/
14
15#ifndef LV2_MIDNAM_H
16#define LV2_MIDNAM_H
17
18#include "lv2.h"
19
24
25#define LV2_MIDNAM_URI "http://ardour.org/lv2/midnam"
26#define LV2_MIDNAM_PREFIX LV2_MIDNAM_URI "#"
27#define LV2_MIDNAM__interface LV2_MIDNAM_PREFIX "interface"
28#define LV2_MIDNAM__update LV2_MIDNAM_PREFIX "update"
29
30typedef void* LV2_Midnam_Handle;
31
39
40typedef struct {
49 char* (*midnam)(LV2_Handle instance);
50
54 char* (*model)(LV2_Handle instance);
55
60 void (*free)(char*);
62
63#endif
void * LV2_Handle
Definition lv2.h:133
void * LV2_Midnam_Handle
Definition midnam.h:30
void(* free)(char *)
Definition midnam.h:60
void(* update)(LV2_Midnam_Handle handle)
Definition midnam.h:37
LV2_Midnam_Handle handle
Definition midnam.h:35
Definition midnam.h:40
Definition midnam.h:33
#define void
Definition unzip.h:396