summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-03-09 08:33:21 +0100
committerDavid Robillard <d@drobilla.net>2017-03-09 08:33:21 +0100
commit83d366452af8e93f0722658d730528d699f21e2b (patch)
treedb66b0653d57ca2e2939a1352b3d45aeada4689e /ingen
parente360392489fe62dbae1f0c28b7f5fb839851f5f6 (diff)
downloadingen-groups.tar.gz
ingen-groups.tar.bz2
ingen-groups.zip
Preliminary port groups workgroups
Diffstat (limited to 'ingen')
-rw-r--r--ingen/Node.hpp3
-rw-r--r--ingen/Resource.hpp3
-rw-r--r--ingen/URIs.hpp8
-rw-r--r--ingen/client/BlockModel.hpp5
4 files changed, 15 insertions, 4 deletions
diff --git a/ingen/Node.hpp b/ingen/Node.hpp
index a585d03a..066c5d17 100644
--- a/ingen/Node.hpp
+++ b/ingen/Node.hpp
@@ -53,7 +53,8 @@ public:
enum class GraphType {
GRAPH,
BLOCK,
- PORT
+ PORT,
+ GROUP
};
typedef std::pair<const Node*, const Node*> ArcsKey;
diff --git a/ingen/Resource.hpp b/ingen/Resource.hpp
index 3eb1349f..1ffa571e 100644
--- a/ingen/Resource.hpp
+++ b/ingen/Resource.hpp
@@ -187,7 +187,8 @@ public:
bool& graph,
bool& block,
bool& port,
- bool& is_output);
+ bool& is_output,
+ bool& is_group);
virtual void set_uri(const Raul::URI& uri) { _uri = uri; }
diff --git a/ingen/URIs.hpp b/ingen/URIs.hpp
index 44f1056e..8bd3eca4 100644
--- a/ingen/URIs.hpp
+++ b/ingen/URIs.hpp
@@ -1,6 +1,6 @@
/*
This file is part of Ingen.
- Copyright 2007-2016 David Robillard <http://drobilla.net/>
+ Copyright 2007-2017 David Robillard <http://drobilla.net/>
Ingen is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
@@ -194,6 +194,11 @@ public:
const Quark patch_subject;
const Quark patch_value;
const Quark patch_wildcard;
+ const Quark pg_DiscreteGroup;
+ const Quark pg_InputGroup;
+ const Quark pg_OutputGroup;
+ const Quark pg_element;
+ const Quark pg_group;
const Quark pprops_logarithmic;
const Quark pset_Preset;
const Quark pset_preset;
@@ -201,6 +206,7 @@ public:
const Quark rdfs_Class;
const Quark rdfs_label;
const Quark rdfs_seeAlso;
+ const Quark rdfs_subClassOf;
const Quark rsz_minimumSize;
const Quark state_loadDefaultState;
const Quark state_state;
diff --git a/ingen/client/BlockModel.hpp b/ingen/client/BlockModel.hpp
index e689414c..bd8b336a 100644
--- a/ingen/client/BlockModel.hpp
+++ b/ingen/client/BlockModel.hpp
@@ -36,8 +36,9 @@ class URIs;
namespace Client {
-class PluginModel;
class ClientStore;
+class GroupModel;
+class PluginModel;
/** Block model class, used by the client to store engine's state.
*
@@ -81,6 +82,8 @@ public:
// Signals
INGEN_SIGNAL(new_port, void, SPtr<const PortModel>);
INGEN_SIGNAL(removed_port, void, SPtr<const PortModel>);
+ INGEN_SIGNAL(new_group, void, SPtr<const GroupModel>);
+ INGEN_SIGNAL(removed_group, void, SPtr<const GroupModel>);
protected:
friend class ClientStore;