summaryrefslogtreecommitdiffstats
path: root/src/engine/Engine.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-13 03:29:04 +0000
committerDavid Robillard <d@drobilla.net>2011-04-13 03:29:04 +0000
commit793bef06e2a98561e266a32ee767410ea44d4c67 (patch)
treeb2c5957b3e9a5196f25a4f9cef7dee4e54560060 /src/engine/Engine.cpp
parente5c50582b6b0a53f6cb7d4e14e46a966322fabe9 (diff)
downloadingen-793bef06e2a98561e266a32ee767410ea44d4c67.tar.gz
ingen-793bef06e2a98561e266a32ee767410ea44d4c67.tar.bz2
ingen-793bef06e2a98561e266a32ee767410ea44d4c67.zip
Tidy up headers towards being API appropriate.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3141 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/Engine.cpp')
-rw-r--r--src/engine/Engine.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/engine/Engine.cpp b/src/engine/Engine.cpp
index 12c479f5..514e286f 100644
--- a/src/engine/Engine.cpp
+++ b/src/engine/Engine.cpp
@@ -138,6 +138,13 @@ Engine::main_iteration()
void
+Engine::quit()
+{
+ _quit_flag = true;
+}
+
+
+void
Engine::add_event_source(SharedPtr<EventSource> source)
{
_event_sources.insert(source);
@@ -263,4 +270,11 @@ Engine::process_events(ProcessContext& context)
}
+bool
+Engine::activated()
+{
+ return _activated;
+}
+
+
} // namespace Ingen