From 793bef06e2a98561e266a32ee767410ea44d4c67 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 Apr 2011 03:29:04 +0000 Subject: Tidy up headers towards being API appropriate. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3141 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/Engine.hpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/engine/Engine.hpp') diff --git a/src/engine/Engine.hpp b/src/engine/Engine.hpp index 9f0f08a8..e79dbb9f 100644 --- a/src/engine/Engine.hpp +++ b/src/engine/Engine.hpp @@ -19,15 +19,16 @@ #define INGEN_ENGINE_ENGINE_HPP #include -#include #include +#include + #include + #include "raul/SharedPtr.hpp" + #include "interface/PortType.hpp" #include "interface/EventType.hpp" -template class Queue; - namespace Raul { class Maid; } namespace Ingen { @@ -71,16 +72,14 @@ public: virtual int main(); virtual bool main_iteration(); - /** Set the quit flag that should kill all threads and exit cleanly. - * Note that it will take some time. */ - virtual void quit() { _quit_flag = true; } + virtual void quit(); virtual bool activate(); virtual void deactivate(); virtual void process_events(ProcessContext& context); - virtual bool activated() { return _activated; } + virtual bool activated(); virtual BufferFactory* buffer_factory() const { return _buffer_factory; } virtual ClientBroadcaster* broadcaster() const { return _broadcaster; } @@ -101,7 +100,7 @@ public: typedef std::vector ProcessSlaves; virtual const ProcessSlaves& process_slaves() const { return _process_slaves; } - virtual ProcessSlaves& process_slaves() { return _process_slaves; } + virtual ProcessSlaves& process_slaves() { return _process_slaves; } private: typedef std::set< SharedPtr > EventSources; -- cgit v1.2.1