LMMS
Loading...
Searching...
No Matches
lv2_external_ui.h
Go to the documentation of this file.
1/* -*- Mode: C ; c-basic-offset: 2 -*- */
2/*****************************************************************************
3 *
4 * This work is in public domain.
5 *
6 * This file is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 *
10 * If you have questions, contact Nedko Arnaudov <nedko@arnaudov.name> or
11 * ask in #lad channel, FreeNode IRC network.
12 *
13 *****************************************************************************/
14
15#ifndef LV2_EXTERNAL_UI_H__5AFE09A5_0FB7_47AF_924E_2AF0F8DE8873__INCLUDED
16#define LV2_EXTERNAL_UI_H__5AFE09A5_0FB7_47AF_924E_2AF0F8DE8873__INCLUDED
17
19#define LV2_EXTERNAL_UI_URI "http://lv2plug.in/ns/extensions/ui#external"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24#if 0
25} /* Adjust editor indent */
26#endif
27
34{
41 void (* run)(struct lv2_external_ui * _this_);
42
48 void (* show)(struct lv2_external_ui * _this_);
49
55 void (* hide)(struct lv2_external_ui * _this_);
56};
57
58#define LV2_EXTERNAL_UI_RUN(ptr) (ptr)->run(ptr)
59#define LV2_EXTERNAL_UI_SHOW(ptr) (ptr)->show(ptr)
60#define LV2_EXTERNAL_UI_HIDE(ptr) (ptr)->hide(ptr)
61
93
94#if 0
95{ /* Adjust editor indent */
96#endif
97#ifdef __cplusplus
98} /* extern "C" */
99#endif
100
101#endif /* #ifndef LV2_EXTERNAL_UI_H__5AFE09A5_0FB7_47AF_924E_2AF0F8DE8873__INCLUDED */
Controller controller
Definition main.C:5
void * LV2UI_Controller
Definition ui.h:104
Definition lv2_external_ui.h:66
void(* ui_closed)(LV2UI_Controller controller)
Definition lv2_external_ui.h:80
const char * plugin_human_id
Definition lv2_external_ui.h:91
Definition lv2_external_ui.h:34
void(* hide)(struct lv2_external_ui *_this_)
Definition lv2_external_ui.h:55
void(* show)(struct lv2_external_ui *_this_)
Definition lv2_external_ui.h:48
void(* run)(struct lv2_external_ui *_this_)
Definition lv2_external_ui.h:41
#define void
Definition unzip.h:396