diff options
author | David Robillard <d@drobilla.net> | 2012-08-15 04:18:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-15 04:18:31 +0000 |
commit | 0a9297ed2a1622d252a389d8babc0656fedbe7fd (patch) | |
tree | 3f8e72bcb12e62f36eceda789cd1912c39eda2a4 /src/server/DirectDriver.hpp | |
parent | 859ace60e8b1c4c0d9c5bea88d8eed1265ea859e (diff) | |
download | ingen-0a9297ed2a1622d252a389d8babc0656fedbe7fd.tar.gz ingen-0a9297ed2a1622d252a389d8babc0656fedbe7fd.tar.bz2 ingen-0a9297ed2a1622d252a389d8babc0656fedbe7fd.zip |
Simpler and more unified EnginePort implementation.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4699 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/DirectDriver.hpp')
-rw-r--r-- | src/server/DirectDriver.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/server/DirectDriver.hpp b/src/server/DirectDriver.hpp index ccf65fee..76cd3cbc 100644 --- a/src/server/DirectDriver.hpp +++ b/src/server/DirectDriver.hpp @@ -42,17 +42,16 @@ public: return NULL; } - virtual EnginePort* port(const Raul::Path& path) { return NULL; } + virtual EnginePort* get_port(const Raul::Path& path) { return NULL; } virtual void add_port(ProcessContext& context, EnginePort* port) {} + virtual void remove_port(ProcessContext& context, EnginePort* port) {} virtual void rename_port(const Raul::Path& old_path, const Raul::Path& new_path) {} - virtual Raul::Deletable* remove_port(ProcessContext& context, - EnginePort* port) { - return NULL; - } + virtual void register_port(EnginePort& port) {} + virtual void unregister_port(EnginePort& port) {} virtual SampleCount block_length() const { return _block_length; } |