From 9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Apr 2011 19:02:36 +0000 Subject: Squeeze blank lines and delete trailing whitespace. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/NodeModel.cpp | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'src/client/NodeModel.cpp') diff --git a/src/client/NodeModel.cpp b/src/client/NodeModel.cpp index 2d3f8f72..d7bcc7f4 100644 --- a/src/client/NodeModel.cpp +++ b/src/client/NodeModel.cpp @@ -29,7 +29,6 @@ using namespace Raul; namespace Ingen { namespace Client { - NodeModel::NodeModel(Shared::LV2URIMap& uris, SharedPtr plugin, const Path& path) : Node() , ObjectModel(uris, path) @@ -51,7 +50,6 @@ NodeModel::NodeModel(Shared::LV2URIMap& uris, const URI& plugin_uri, const Path& { } - NodeModel::NodeModel(const NodeModel& copy) : Node(copy) , ObjectModel(copy) @@ -64,13 +62,11 @@ NodeModel::NodeModel(const NodeModel& copy) memcpy(_max_values, copy._max_values, sizeof(float) * _num_values); } - NodeModel::~NodeModel() { clear(); } - void NodeModel::remove_port(SharedPtr port) { @@ -83,7 +79,6 @@ NodeModel::remove_port(SharedPtr port) signal_removed_port.emit(port); } - void NodeModel::remove_port(const Path& port_path) { @@ -95,7 +90,6 @@ NodeModel::remove_port(const Path& port_path) } } - void NodeModel::clear() { @@ -107,7 +101,6 @@ NodeModel::clear() _max_values = 0; } - void NodeModel::add_child(SharedPtr c) { @@ -120,7 +113,6 @@ NodeModel::add_child(SharedPtr c) add_port(pm); } - bool NodeModel::remove_child(SharedPtr c) { @@ -137,7 +129,6 @@ NodeModel::remove_child(SharedPtr c) return true; } - void NodeModel::add_port(SharedPtr pm) { @@ -154,7 +145,6 @@ NodeModel::add_port(SharedPtr pm) signal_new_port.emit(pm); } - SharedPtr NodeModel::get_port(const Raul::Symbol& symbol) const { @@ -164,7 +154,6 @@ NodeModel::get_port(const Raul::Symbol& symbol) const return SharedPtr(); } - Shared::Port* NodeModel::port(uint32_t index) const { @@ -172,7 +161,6 @@ NodeModel::port(uint32_t index) const return dynamic_cast(_ports[index].get()); } - void NodeModel::default_port_value_range(SharedPtr port, float& min, float& max) const { @@ -200,7 +188,6 @@ NodeModel::default_port_value_range(SharedPtr port, float& min, float #endif } - void NodeModel::port_value_range(SharedPtr port, float& min, float& max) const { @@ -220,7 +207,6 @@ NodeModel::port_value_range(SharedPtr port, float& min, float& max) c max = min + 1.0; } - std::string NodeModel::port_label(SharedPtr port) const { @@ -228,7 +214,7 @@ NodeModel::port_label(SharedPtr port) const if (name.is_valid()) { return name.get_string(); } - + #ifdef HAVE_SLV2 if (_plugin && _plugin->type() == PluginModel::LV2) { SLV2World c_world = _plugin->slv2_world(); @@ -247,7 +233,6 @@ NodeModel::port_label(SharedPtr port) const return port->symbol().c_str(); } - void NodeModel::set(SharedPtr model) { @@ -260,6 +245,5 @@ NodeModel::set(SharedPtr model) ObjectModel::set(model); } - } // namespace Client } // namespace Ingen -- cgit v1.2.1