diff options
author | David Robillard <d@drobilla.net> | 2008-10-12 06:47:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-12 06:47:11 +0000 |
commit | d154ae5b114a6a04acd17a83f6d59caa9ec1005a (patch) | |
tree | 5803f386ddfc608ec565226ad658c9562157ada7 /src/engine/Engine.hpp | |
parent | 57698964f1e88b2b74a0ce31ffaba3044d884dac (diff) | |
download | ingen-d154ae5b114a6a04acd17a83f6d59caa9ec1005a.tar.gz ingen-d154ae5b114a6a04acd17a83f6d59caa9ec1005a.tar.bz2 ingen-d154ae5b114a6a04acd17a83f6d59caa9ec1005a.zip |
Split OSC/HTTP/JACK dependencies from ingen into separate libraries so engine library doesn't have a link time dependence on liblo/soap/libjack.
Preliminary Ingen LV2 code wrapper (not functional yet).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1653 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/Engine.hpp')
-rw-r--r-- | src/engine/Engine.hpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/engine/Engine.hpp b/src/engine/Engine.hpp index 9c824c9a..e2e5ea09 100644 --- a/src/engine/Engine.hpp +++ b/src/engine/Engine.hpp @@ -43,7 +43,6 @@ class EventSource; class PostProcessor; class Event; class QueuedEvent; -class QueuedEngineInterface; class Driver; class ProcessSlave; class ProcessContext; @@ -74,12 +73,6 @@ public: * Note that it will take some time. */ virtual void quit() { _quit_flag = true; } - virtual void start_jack_driver(); - virtual void start_osc_driver(int port); - virtual void start_http_driver(int port); - - virtual SharedPtr<QueuedEngineInterface> new_queued_interface(); - virtual bool activate(size_t parallelism); virtual void deactivate(); @@ -102,6 +95,12 @@ public: /** Return the active driver for the given type */ Driver* driver(DataType type, EventType event_type); + /** Set the driver for the given data type (replacing the old) */ + virtual void set_driver(DataType type, SharedPtr<Driver> driver); + + virtual void set_event_source(SharedPtr<EventSource> source); + virtual void set_midi_driver(MidiDriver* driver); + Ingen::Shared::World* world() { return _world; } typedef std::vector<ProcessSlave*> ProcessSlaves; |