clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit fc06e66a40779f56fbfd66bd7cb58b4e68f44223
parent dbe6d48b93aa6aafeec14214e64227d108da9616
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Tue, 21 Oct 2014 14:52:43 +0200

Add localization

Diffstat:
Minclude/clap/clap.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/clap/clap.h b/include/clap/clap.h @@ -403,6 +403,9 @@ struct clap_plugin bool (*save)(struct clap_plugin *plugin, void **buffer, size_t *size); bool (*restore)(struct clap_plugin *plugin, const void *buffer, size_t size); + /* Sets the locale to use */ + bool (*set_locale)(struct clap_plugin *plugin, const char *locale); + /* future features */ void *(*extension)(struct clap_plugin *plugin, const char *id); };