summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/Engine.cpp11
-rw-r--r--src/libs/engine/Engine.h2
2 files changed, 13 insertions, 0 deletions
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<EventSource> 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<QueuedEngineInterface> new_queued_interface();
+
+ //virtual void set_event_source(SharedPtr<EventSource>);
virtual bool activate();
virtual void deactivate();