LMMS
Loading...
Searching...
No Matches
lv2_progress.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 * Author of this extension is Nedko Arnaudov <nedko@arnaudov.name>
11 *
12 * Several people helped improving the extension:
13 * * Krzysztof Foltman <wdev@foltman.com>
14 * * Dave Robillard <dave@drobilla.net>
15 *
16 * If you have questions ask in the #lv2 or #lad channel,
17 * FreeNode IRC network or use the lv2 mailing list.
18 *
19 *****************************************************************************/
20
21#ifndef LV2_PROGRESS_H__F576843C_CA13_49C3_9BF9_CFF3A15AD18C__INCLUDED
22#define LV2_PROGRESS_H__F576843C_CA13_49C3_9BF9_CFF3A15AD18C__INCLUDED
23
48
49#ifdef __cplusplus
50extern "C" {
51#endif
52#if 0
53} /* Adjust editor indent */
54#endif
55
57#define LV2_PROGRESS_URI "http://lv2plug.in/ns/dev/progress"
58
60typedef struct _LV2_Progress
61{
63 void * context;
64
75 void (*progress)(void * context, float progress, const char * message);
77
78#if 0
79{ /* Adjust editor indent */
80#endif
81#ifdef __cplusplus
82} /* extern "C" */
83#endif
84
85#endif /* #ifndef LV2_PROGRESS_H__F576843C_CA13_49C3_9BF9_CFF3A15AD18C__INCLUDED */
static void message(int level, const char *fmt,...)
Definition adplugdb.cpp:120
struct _LV2_Progress LV2_Progress
host feature structure
host feature structure
Definition lv2_progress.h:61
void * context
Definition lv2_progress.h:63
void(* progress)(void *context, float progress, const char *message)
Definition lv2_progress.h:75
#define void
Definition unzip.h:396