From acdd2da8b42a590406aef07b8b63ba96b3e587a4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 4 May 2007 06:41:12 +0000 Subject: Work on internal engine + GUI (still some problems). git-svn-id: http://svn.drobilla.net/lad/ingen@498 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/Engine.cpp | 11 +++++++++++ src/libs/engine/Engine.h | 2 ++ 2 files changed, 13 insertions(+) (limited to 'src/libs/engine') diff --git a/src/libs/engine/Engine.cpp b/src/libs/engine/Engine.cpp index 1d54aef6..af26d089 100644 --- a/src/libs/engine/Engine.cpp +++ b/src/libs/engine/Engine.cpp @@ -167,6 +167,17 @@ Engine::new_queued_interface() return result; } +/* +void +Engine::set_event_source(SharedPtr source) +{ + if (_event_source) + cerr << "Warning: Dropped event source (engine interface)" << endl; + + _event_source = source; +} +*/ + bool Engine::activate() diff --git a/src/libs/engine/Engine.h b/src/libs/engine/Engine.h index ad4332ee..bdb6cdfb 100644 --- a/src/libs/engine/Engine.h +++ b/src/libs/engine/Engine.h @@ -68,6 +68,8 @@ public: virtual void start_osc_driver(int port); virtual SharedPtr new_queued_interface(); + + //virtual void set_event_source(SharedPtr); virtual bool activate(); virtual void deactivate(); -- cgit v1.2.1