summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-15 01:20:54 +0000
committerDavid Robillard <d@drobilla.net>2006-09-15 01:20:54 +0000
commita135a764751a356ac34c2f35f8ce2c009872f1fd (patch)
treefd70a03cad997bbaeac6bed50c5b17be442aad9e /src/libs
parentf9f760893e4fa1ff850becf7d98bd4c6af8b8d73 (diff)
downloadingen-a135a764751a356ac34c2f35f8ce2c009872f1fd.tar.gz
ingen-a135a764751a356ac34c2f35f8ce2c009872f1fd.tar.bz2
ingen-a135a764751a356ac34c2f35f8ce2c009872f1fd.zip
Fixed FlowCanvas #include directives (to include FLOWCANVAS prefix).
Renamed classes/files in Ingenuity to make more sense (and kill "Om"). Patch port fixes. git-svn-id: http://svn.drobilla.net/lad/ingen@136 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/client/ModelEngineInterface.cpp10
-rw-r--r--src/libs/client/ModelEngineInterface.h5
2 files changed, 15 insertions, 0 deletions
diff --git a/src/libs/client/ModelEngineInterface.cpp b/src/libs/client/ModelEngineInterface.cpp
index 40de205c..a7c0df6a 100644
--- a/src/libs/client/ModelEngineInterface.cpp
+++ b/src/libs/client/ModelEngineInterface.cpp
@@ -63,6 +63,16 @@ ModelEngineInterface::create_patch_with_data(const Path& path, size_t poly, cons
}
+void
+ModelEngineInterface::create_port_with_data(const Path& path,
+ const string& data_type,
+ bool direction,
+ const MetadataMap& data)
+{
+ create_port(path, data_type, direction);
+ set_metadata_map(path, data);
+}
+
/** Set all pieces of metadata in a map.
*/
void
diff --git a/src/libs/client/ModelEngineInterface.h b/src/libs/client/ModelEngineInterface.h
index e97947a3..f67755e8 100644
--- a/src/libs/client/ModelEngineInterface.h
+++ b/src/libs/client/ModelEngineInterface.h
@@ -52,6 +52,11 @@ public:
const Path& path,
bool is_polyphonicc,
const MetadataMap& initial_data);
+
+ virtual void create_port_with_data(const Path& path,
+ const string& data_type,
+ bool direction,
+ const MetadataMap& data);
virtual void set_metadata_map(const Path& subject, const MetadataMap& data);
virtual void set_preset(const Path& patch_path, const PresetModel* pm);