diff options
author | David Robillard <d@drobilla.net> | 2011-02-11 04:58:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-11 04:58:06 +0000 |
commit | 38de3875424f70f89d617c228e0815680e300700 (patch) | |
tree | c848d26d01d5eb715c1bb0df924998e14774077f /slv2/world.h | |
parent | ad69b46ed592c3f8b680f29653702b03b0559963 (diff) | |
download | lilv-38de3875424f70f89d617c228e0815680e300700.tar.gz lilv-38de3875424f70f89d617c228e0815680e300700.tar.bz2 lilv-38de3875424f70f89d617c228e0815680e300700.zip |
Better, tested, i18n system.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2916 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/world.h')
-rw-r--r-- | slv2/world.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/slv2/world.h b/slv2/world.h index de3bf04..15dddf8 100644 --- a/slv2/world.h +++ b/slv2/world.h @@ -52,6 +52,15 @@ SLV2_API SLV2World slv2_world_new(void); +/** Enable/disable language filtering for @a world. + * With filtering enabled, SLV2 will automatically return the best value(s) + * for the current LANG. With filtering disabled, all matching values will + * be returned regardless of language tag. Filtering is enabled by default. + */ +SLV2_API +void +slv2_world_filter_language(SLV2World world, bool filter); + /** Destroy the world, mwahaha. * * NB: Destroying the world will leave dangling references in any plugin lists, |