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 /src/world.c | |
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 'src/world.c')
-rw-r--r-- | src/world.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/world.c b/src/world.c index 4c612ee..ae04b17 100644 --- a/src/world.c +++ b/src/world.c @@ -93,7 +93,8 @@ slv2_world_new() slv2_world_set_prefix(world, "lv2", "http://lv2plug.in/ns/lv2core#"); slv2_world_set_prefix(world, "lv2ev", "http://lv2plug.in/ns/ext/event#"); - world->n_read_files = 0; + world->n_read_files = 0; + world->filter_language = true; return world; @@ -148,6 +149,14 @@ slv2_world_free(SLV2World world) free(world); } +SLV2_API +void +slv2_world_filter_language(SLV2World world, bool filter) +{ + world->filter_language = filter; +} + + static SLV2Matches slv2_world_find_statements(SLV2World world, Sord model, |