From 8c6a7c4ad5f5cb6b3b583aefbfe6b0cf57414294 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 17 Feb 2011 03:09:23 +0000 Subject: Consistent log output. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2972 a436a847-0d15-0410-975c-d299462d15a1 --- src/module/Module.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/module/Module.hpp') diff --git a/src/module/Module.hpp b/src/module/Module.hpp index 7c67a310..af5732af 100644 --- a/src/module/Module.hpp +++ b/src/module/Module.hpp @@ -18,8 +18,9 @@ #ifndef INGEN_MODULE_MODULE_HPP #define INGEN_MODULE_MODULE_HPP -#include #include + +#include "raul/log.hpp" #include "raul/SharedPtr.hpp" namespace Ingen { @@ -32,7 +33,10 @@ class World; * All components of Ingen reside in one of these. */ struct Module { - virtual ~Module() {} + virtual ~Module() { + Raul::info << "[Module] Unloading " << library->get_name() << std::endl; + } + virtual void load(Ingen::Shared::World* world) = 0; SharedPtr library; -- cgit v1.2.1