From 682201731f28c627cf39592f4718a959862fa5f2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 23 Apr 2012 02:38:16 +0000 Subject: Remove vestigial edit mode stuff. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4253 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/client/PatchModel.hpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'ingen/client') 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(this)->signal_editable().emit(e); - } - } - // Signals INGEN_SIGNAL(new_node, void, SharedPtr); INGEN_SIGNAL(removed_node, void, SharedPtr); INGEN_SIGNAL(new_connection, void, SharedPtr); INGEN_SIGNAL(removed_connection, void, SharedPtr); - 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; - mutable bool _editable; }; } // namespace Client -- cgit v1.2.1