summaryrefslogtreecommitdiffstats
path: root/ingen/World.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-17 02:14:07 +0000
committerDavid Robillard <d@drobilla.net>2012-08-17 02:14:07 +0000
commit318b37d8b556add13b3f156f31c9e72eca339a16 (patch)
treeca7b881f8980a41eca77602b474f29964b5c89db /ingen/World.hpp
parenta42744e1068a8630d8034df73bb344ca21a53b32 (diff)
downloadingen-318b37d8b556add13b3f156f31c9e72eca339a16.tar.gz
ingen-318b37d8b556add13b3f156f31c9e72eca339a16.tar.bz2
ingen-318b37d8b556add13b3f156f31c9e72eca339a16.zip
Implement real logging system, LV2 log extension support, and purge evil/ugly/untranslatable C++ stream printing.
Remove coloured log stuff from Raul. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4717 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/World.hpp')
-rw-r--r--ingen/World.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/ingen/World.hpp b/ingen/World.hpp
index 68ecd843..e00b23fe 100644
--- a/ingen/World.hpp
+++ b/ingen/World.hpp
@@ -20,6 +20,7 @@
#include <string>
#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
+#include "lv2/lv2plug.in/ns/ext/log/log.h"
#include "raul/Noncopyable.hpp"
#include "raul/SharedPtr.hpp"
#include "raul/URI.hpp"
@@ -32,6 +33,7 @@ namespace Ingen {
class EngineBase;
class Interface;
+class Log;
namespace Serialisation {
class Parser;
@@ -70,11 +72,13 @@ public:
* @param argv Argument vector (as in C main())
* @param map LV2 URID map implementation, or NULL to use internal.
* @param unmap LV2 URID unmap implementation, or NULL to use internal.
+ * @param log LV2 log implementation, or NULL to use internal.
*/
World(int& argc,
char**& argv,
LV2_URID_Map* map,
- LV2_URID_Unmap* unmap);
+ LV2_URID_Unmap* unmap,
+ LV2_Log_Log* log);
virtual ~World();
@@ -141,6 +145,8 @@ public:
virtual void set_jack_uuid(const std::string& uuid);
virtual std::string jack_uuid();
+ virtual Log& log();
+
private:
class Impl;