From 19045ab92aa7e996971584a0dc8780d1d58b498b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 19 Dec 2009 21:37:50 +0000 Subject: New ingen module (library, not e.g. LV2 plugin) design. Much cleaner interface and general usage of Ingen as a library. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2314 a436a847-0d15-0410-975c-d299462d15a1 --- src/module/ingen_module.hpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'src/module/ingen_module.hpp') diff --git a/src/module/ingen_module.hpp b/src/module/ingen_module.hpp index ef373430..1095a3e6 100644 --- a/src/module/ingen_module.hpp +++ b/src/module/ingen_module.hpp @@ -15,19 +15,17 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef INGEN_GLOBAL_H -#define INGEN_GLOBAL_H +#ifndef INGEN_LIB_MODULE_HPP +#define INGEN_LIB_MODULE_HPP -namespace Ingen { -namespace Shared { +namespace Ingen { namespace Shared { class World; } } -class World; +extern "C" { -World* get_world(); -void destroy_world(); +Ingen::Shared::World* ingen_get_world(); +void ingen_destroy_world(); -} // namesace Shared -} // namespace Ingen +} // extern "C" -#endif // INGEN_GLOBAL_H +#endif // INGEN_LIB_MODULE_HPP -- cgit v1.2.1