From cc384f6f622cc10fd83616256080b80dc2123aaf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 14 Sep 2006 02:27:02 +0000 Subject: Cleaned up client-side model code significantly (made everything private so only Store can change the state of models). Extremely broken, just committing to move code between machines :). git-svn-id: http://svn.drobilla.net/lad/ingen@133 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/ModelEngineInterface.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/libs/client/ModelEngineInterface.h') diff --git a/src/libs/client/ModelEngineInterface.h b/src/libs/client/ModelEngineInterface.h index 29d82d8d..7bc65d1a 100644 --- a/src/libs/client/ModelEngineInterface.h +++ b/src/libs/client/ModelEngineInterface.h @@ -20,6 +20,7 @@ #include #include #include "interface/EngineInterface.h" +#include "ObjectModel.h" using std::string; class Path; @@ -44,9 +45,13 @@ public: virtual ~ModelEngineInterface() {} virtual void create_patch_from_model(const PatchModel* pm); - virtual void create_node_from_model(const NodeModel* nm); - virtual void set_all_metadata(const ObjectModel* nm); + virtual void create_node_with_data(const string& plugin_uri, + const Path& path, + bool is_polyphonicc, + const MetadataMap& initial_data); + + virtual void set_metadata_map(const Path& subject, const MetadataMap& data); virtual void set_preset(const Path& patch_path, const PresetModel* pm); protected: -- cgit v1.2.1