diff layer/NoteLayer.h @ 76:45ba0b381c5d

* Fix long-standing off-by-1 bug in WaveFileModel that was getting us the wrong values for almost all audio data when merging channels (channel == -1) * Implement cut, copy and paste * Make draw mode work properly in time value layer * Minor fixes to CSV import
author Chris Cannam
date Fri, 07 Apr 2006 17:50:33 +0000
parents bf306158803d
children 19bf27e4fb29
line wrap: on
line diff
--- a/layer/NoteLayer.h	Thu Apr 06 12:12:41 2006 +0000
+++ b/layer/NoteLayer.h	Fri Apr 07 17:50:33 2006 +0000
@@ -52,6 +52,10 @@
 
     virtual void moveSelection(Selection s, size_t newStartFrame);
     virtual void resizeSelection(Selection s, Selection newSize);
+    virtual void deleteSelection(Selection s);
+
+    virtual void copy(Selection s, Clipboard &to);
+    virtual void paste(const Clipboard &from, int frameOffset);
 
     virtual const Model *getModel() const { return m_model; }
     void setModel(NoteModel *model);