diff options
author | David Robillard <d@drobilla.net> | 2011-04-28 21:56:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-28 21:56:29 +0000 |
commit | 809f5ae5999901be62f9d0cc1eb8a2d0f4806780 (patch) | |
tree | 4a2c1a7b344ec0f0a75d6a64ed1177a61822af89 /utils/slv2_bench.c | |
parent | 372ad8bcac948087bbc261933e38868f533c6708 (diff) | |
download | lilv-809f5ae5999901be62f9d0cc1eb8a2d0f4806780.tar.gz lilv-809f5ae5999901be62f9d0cc1eb8a2d0f4806780.tar.bz2 lilv-809f5ae5999901be62f9d0cc1eb8a2d0f4806780.zip |
Rename slv2 to lilv.
API breakage was proving too much of a hassle, and would be even further of a
mess after release and packaging. Best to make a clean break now, and fix
installation to support parallel installs and prevent this kind of problem in
the future.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3217 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils/slv2_bench.c')
-rw-r--r-- | utils/slv2_bench.c | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/utils/slv2_bench.c b/utils/slv2_bench.c deleted file mode 100644 index de1be4e..0000000 --- a/utils/slv2_bench.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - Copyright 2007-2011 David Robillard <http://drobilla.net> - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -*/ - -#include <stdio.h> - -#include "slv2/slv2.h" - -#include "slv2-config.h" - -void -print_version() -{ - printf("slv2_bench (slv2) " SLV2_VERSION "\n"); - printf("Copyright 2011-2011 David Robillard <http://drobilla.net>\n"); - printf("License: <http://www.opensource.org/licenses/isc-license>\n"); - printf("This is free software: you are free to change and redistribute it.\n"); - printf("There is NO WARRANTY, to the extent permitted by law.\n"); -} - -void -print_usage() -{ - printf("Usage: slv2_bench\n"); - printf("Load all discovered LV2 plugins.\n"); -} - -int -main(int argc, char** argv) -{ - SLV2World world = slv2_world_new(); - slv2_world_load_all(world); - - SLV2Plugins plugins = slv2_world_get_all_plugins(world); - SLV2_FOREACH(plugins, p, plugins) { - SLV2Plugin plugin = slv2_plugins_get(plugins, p); - slv2_plugin_get_class(plugin); - } - - slv2_world_free(world); - - return 0; -} |