summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Patch.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-11 20:28:25 +0000
committerDavid Robillard <d@drobilla.net>2007-04-11 20:28:25 +0000
commit98d36c7a799d8514cfa570f3cf7083c695e21e7b (patch)
treefb824e444965cab922c555ec4954677c0796a4be /src/libs/engine/Patch.h
parentef4daed2d72e43ad700da9ca243318b8e43bb5e8 (diff)
downloadingen-98d36c7a799d8514cfa570f3cf7083c695e21e7b.tar.gz
ingen-98d36c7a799d8514cfa570f3cf7083c695e21e7b.tar.bz2
ingen-98d36c7a799d8514cfa570f3cf7083c695e21e7b.zip
Minor code cleanups/cruft removal.
git-svn-id: http://svn.drobilla.net/lad/ingen@442 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Patch.h')
-rw-r--r--src/libs/engine/Patch.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/libs/engine/Patch.h b/src/libs/engine/Patch.h
index 76290c8f..ba74d1af 100644
--- a/src/libs/engine/Patch.h
+++ b/src/libs/engine/Patch.h
@@ -59,8 +59,6 @@ public:
void set_buffer_size(size_t size);
- //void send_creation_messages(ClientInterface* client) const;
-
void add_to_store(ObjectStore* store);
void remove_from_store();
@@ -68,7 +66,7 @@ public:
// Patch specific stuff not inherited from Node
- void add_node(Raul::ListNode<Node*>* tn);
+ void add_node(Raul::ListNode<Node*>* tn);
Raul::ListNode<Node*>* remove_node(const string& name);
Raul::List<Node*>& nodes() { return _nodes; }
@@ -79,19 +77,19 @@ public:
size_t num_ports() const;
- Port* create_port(const string& name, DataType type, size_t buffer_size, bool is_output);
- void add_input(Raul::ListNode<Port*>* port) { _input_ports.push_back(port); } ///< Preprocesser thread
- void add_output(Raul::ListNode<Port*>* port) { _output_ports.push_back(port); } ///< Preprocessor thread
+ Port* create_port(const string& name, DataType type, size_t buffer_size, bool is_output);
+ void add_input(Raul::ListNode<Port*>* port) { _input_ports.push_back(port); } ///< Preprocesser thread
+ void add_output(Raul::ListNode<Port*>* port) { _output_ports.push_back(port); } ///< Preprocessor thread
Raul::ListNode<Port*>* remove_port(const string& name);
- void add_connection(Raul::ListNode<Connection*>* c) { _connections.push_back(c); }
+ void add_connection(Raul::ListNode<Connection*>* c) { _connections.push_back(c); }
Raul::ListNode<Connection*>* remove_connection(const Port* src_port, const Port* dst_port);
- Raul::Array<Node*>* process_order() { return _process_order; }
- void process_order(Raul::Array<Node*>* po) { _process_order = po; }
+ Raul::Array<Node*>* process_order() { return _process_order; }
+ void process_order(Raul::Array<Node*>* po) { _process_order = po; }
- Raul::Array<Port*>* external_ports() { return _ports; }
- void external_ports(Raul::Array<Port*>* pa) { _ports = pa; }
+ Raul::Array<Port*>* external_ports() { return _ports; }
+ void external_ports(Raul::Array<Port*>* pa) { _ports = pa; }
Raul::Array<Node*>* build_process_order() const;
Raul::Array<Port*>* build_ports_array() const;