diff options
Diffstat (limited to 'src/engine/Engine.cpp')
-rw-r--r-- | src/engine/Engine.cpp | 14 |
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 |