summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-23 02:38:16 +0000
committerDavid Robillard <d@drobilla.net>2012-04-23 02:38:16 +0000
commit682201731f28c627cf39592f4718a959862fa5f2 (patch)
tree4dd6a10bc539db99cbc7d4519d048a6059f8169d /ingen
parent8d1e92ab0655d4ede8ea17358d678b3a5aabc1bc (diff)
downloadingen-682201731f28c627cf39592f4718a959862fa5f2.tar.gz
ingen-682201731f28c627cf39592f4718a959862fa5f2.tar.bz2
ingen-682201731f28c627cf39592f4718a959862fa5f2.zip
Remove vestigial edit mode stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4253 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen')
-rw-r--r--ingen/client/PatchModel.hpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/ingen/client/PatchModel.hpp b/ingen/client/PatchModel.hpp
index 4201e7f9..7416aec5 100644
--- a/ingen/client/PatchModel.hpp
+++ b/ingen/client/PatchModel.hpp
@@ -49,23 +49,11 @@ public:
bool polyphonic() const;
uint32_t internal_poly() const;
- /** "editable" = arranging,connecting,adding,deleting,etc
- * not editable (control mode) you can just change controllers (performing)
- */
- bool get_editable() const { return _editable; }
- void set_editable(bool e) const {
- if (_editable != e) {
- _editable = e;
- const_cast<PatchModel*>(this)->signal_editable().emit(e);
- }
- }
-
// Signals
INGEN_SIGNAL(new_node, void, SharedPtr<NodeModel>);
INGEN_SIGNAL(removed_node, void, SharedPtr<NodeModel>);
INGEN_SIGNAL(new_connection, void, SharedPtr<ConnectionModel>);
INGEN_SIGNAL(removed_connection, void, SharedPtr<ConnectionModel>);
- INGEN_SIGNAL(editable, void, bool);
private:
friend class ClientStore;
@@ -73,7 +61,6 @@ private:
PatchModel(Shared::URIs& uris, const Raul::Path& patch_path)
: NodeModel(uris, "http://drobilla.net/ns/ingen#Patch", patch_path)
, _connections(new Connections())
- , _editable(true)
{
}
@@ -86,7 +73,6 @@ private:
const Ingen::Port* dst_port);
SharedPtr<Connections> _connections;
- mutable bool _editable;
};
} // namespace Client