From e16206982d074e62956de00eeef611478f01c430 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 19 Aug 2008 18:51:06 +0000 Subject: Preliminary connecting via HTTP in Gtk client. Better handling of overflowed client event receive buffer. Store fixes, complain only once about orphans, don't request an orphan parent over and over. git-svn-id: http://svn.drobilla.net/lad/ingen@1447 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/NodeModel.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/libs/client/NodeModel.hpp') diff --git a/src/libs/client/NodeModel.hpp b/src/libs/client/NodeModel.hpp index a4bcf4d8..03afc17c 100644 --- a/src/libs/client/NodeModel.hpp +++ b/src/libs/client/NodeModel.hpp @@ -50,6 +50,8 @@ class NodeModel : public ObjectModel, virtual public Ingen::Shared::Node public: NodeModel(const NodeModel& copy); virtual ~NodeModel(); + + typedef vector > Ports; SharedPtr get_port(const string& port_name) const; @@ -58,7 +60,7 @@ public: const string& plugin_uri() const { return _plugin_uri; } const Shared::Plugin* plugin() const { return _plugin.get(); } uint32_t num_ports() const { return _ports.size(); } - const PortModelList& ports() const { return _ports; } + const Ports& ports() const { return _ports; } void port_value_range(SharedPtr port, float& min, float& max); @@ -84,7 +86,7 @@ protected: virtual void clear(); - PortModelList _ports; ///< List of ports (not a Table to preserve order) + Ports _ports; ///< Vector of ports (not a Table to preserve order) string _plugin_uri; ///< Plugin URI (if PluginModel is unknown) SharedPtr _plugin; ///< The plugin this node is an instance of uint32_t _num_values; ///< Size of _min_values and _max_values @@ -93,9 +95,6 @@ protected: }; -typedef Table > NodeModelMap; - - } // namespace Client } // namespace Ingen -- cgit v1.2.1