summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PatchModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/client/PatchModel.h')
-rw-r--r--src/libs/client/PatchModel.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libs/client/PatchModel.h b/src/libs/client/PatchModel.h
index f9b5b2e7..a6f786d3 100644
--- a/src/libs/client/PatchModel.h
+++ b/src/libs/client/PatchModel.h
@@ -67,14 +67,17 @@ public:
const string& filename() const { return m_filename; }
void filename(const string& f) { m_filename = f; }
bool enabled() const { return m_enabled; }
- void enabled(bool b) { m_enabled = b; }
+ void enable();
+ void disable();
bool polyphonic() const;
// Signals
sigc::signal<void, CountedPtr<NodeModel> > new_node_sig;
sigc::signal<void, const string& > removed_node_sig;
sigc::signal<void, CountedPtr<ConnectionModel> > new_connection_sig;
- sigc::signal<void, const string&, const string& > removed_connection_sig;
+ sigc::signal<void, const string&, const string& > removed_connection_sig;
+ sigc::signal<void> enabled_sig;
+ sigc::signal<void> disabled_sig;
private:
// Prevent copies (undefined)