diff base/Layer.h @ 74:47fd14e29813

* 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 d397ea0a79f5
children af2725b5d6fe
line wrap: on
line diff
--- a/base/Layer.h	Thu Apr 06 17:24:13 2006 +0000
+++ b/base/Layer.h	Fri Apr 07 17:50:33 2006 +0000
@@ -32,6 +32,7 @@
 class QPainter;
 class View;
 class QMouseEvent;
+class Clipboard;
 
 /**
  * The base class for visual representations of the data found in a
@@ -139,6 +140,8 @@
     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) { }
 
     // Text mode:
     //