diff layer/TimeInstantLayer.h @ 359:020c485aa7e0

* More work on aligning copy/paste between layers. It's a surprisingly complicated business.
author Chris Cannam
date Wed, 06 Feb 2008 12:49:49 +0000
parents 8b69f36c74be
children e1a9e478b7f2
line wrap: on
line diff
--- a/layer/TimeInstantLayer.h	Mon Feb 04 17:45:16 2008 +0000
+++ b/layer/TimeInstantLayer.h	Wed Feb 06 12:49:49 2008 +0000
@@ -59,8 +59,8 @@
     virtual void resizeSelection(Selection s, Selection newSize);
     virtual void deleteSelection(Selection s);
 
-    virtual void copy(Selection s, Clipboard &to);
-    virtual bool paste(const Clipboard &from, int frameOffset,
+    virtual void copy(View *v, Selection s, Clipboard &to);
+    virtual bool paste(View *v, const Clipboard &from, int frameOffset,
                        bool interactive);
 
     virtual const Model *getModel() const { return m_model; }
@@ -105,7 +105,7 @@
 
     virtual int getDefaultColourHint(bool dark, bool &impose);
 
-    bool clipboardAlignmentDiffers(const Clipboard &) const;
+    bool clipboardAlignmentDiffers(View *v, const Clipboard &) const;
 
     SparseOneDimensionalModel *m_model;
     bool m_editing;