diff options
author | David Robillard <d@drobilla.net> | 2007-04-08 06:04:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-04-08 06:04:32 +0000 |
commit | e96c36c1a7abb062e36efc0ac95c35fedcef922e (patch) | |
tree | 826d5caa0392201472d12c02a1c3df4cf7b275be /src/libs/engine/Engine.h | |
parent | 7d69e89f22304e37fa325ce4f39a374a02072a69 (diff) | |
download | ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.tar.gz ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.tar.bz2 ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.zip |
De-template-ification of port types (req. for LV2 MIDI, but nice code size reduction).
LV2 MIDI patching support (LV2 style MIDI throughout, inc. internal plugins).
git-svn-id: http://svn.drobilla.net/lad/ingen@415 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Engine.h')
-rw-r--r-- | src/libs/engine/Engine.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/engine/Engine.h b/src/libs/engine/Engine.h index 163adf68..38d638c3 100644 --- a/src/libs/engine/Engine.h +++ b/src/libs/engine/Engine.h @@ -21,6 +21,7 @@ #include <cassert> #include <boost/utility.hpp> #include <raul/SharedPtr.h> +#include "DataType.h" template<typename T> class Queue; @@ -39,7 +40,7 @@ class PostProcessor; class Event; class QueuedEvent; class LashDriver; -template <typename T> class Driver; +class Driver; /** The main class for the Engine. @@ -77,8 +78,8 @@ public: NodeFactory* node_factory() const { return _node_factory; } LashDriver* lash_driver() const { return _lash_driver; } - /** Return the active driver for the given (template parameter) type */ - template<typename T> Driver<T>* driver(); + /** Return the active driver for the given type */ + Driver* driver(DataType type); private: SharedPtr<EventSource> _event_source; |