diff layer/Layer.h @ 771:a964151832a7

Merge from branch tony_integration
author Chris Cannam
date Wed, 14 May 2014 09:54:34 +0100
parents dd64efa0dac8
children 1d526ba11a24
line wrap: on
line diff
--- a/layer/Layer.h	Sat Apr 12 01:07:05 2014 -0700
+++ b/layer/Layer.h	Wed May 14 09:54:34 2014 +0100
@@ -131,7 +131,7 @@
     virtual int getVerticalScaleWidth(View *, bool detailed,
                                       QPainter &) const = 0;
 
-    virtual void paintVerticalScale(View *, bool detailed,
+    virtual void paintVerticalScale(View *, bool /* detailed */,
                                     QPainter &, QRect) const { }
 
     virtual bool getCrosshairExtents(View *, QPainter &, QPoint /* cursorPos */,
@@ -150,7 +150,7 @@
 	return "";
     }
 
-    virtual QString getLabelPreceding(size_t frame) const {
+    virtual QString getLabelPreceding(size_t /* frame */) const {
         return "";
     }
 
@@ -229,6 +229,10 @@
     virtual void editDrag(View *, QMouseEvent *) { }
     virtual void editEnd(View *, QMouseEvent *) { }
 
+    virtual void splitStart(View *, QMouseEvent *) { }
+    virtual void splitEnd(View *, QMouseEvent *) { }
+    virtual void addNote(View *, QMouseEvent *) { };
+
     // Measurement rectangle (or equivalent).  Unlike draw and edit,
     // the base Layer class can provide working implementations of
     // these for most situations.