diff view/ViewManager.h @ 374:64e84e5efb76 spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents 4f4f38a11cd2
children
line wrap: on
line diff
--- a/view/ViewManager.h	Mon Nov 19 15:50:37 2007 +0000
+++ b/view/ViewManager.h	Wed Feb 27 11:59:42 2008 +0000
@@ -69,6 +69,9 @@
     Model *getPlaybackModel() const;
     void setPlaybackModel(Model *);
 
+    size_t alignPlaybackFrameToReference(size_t) const;
+    size_t alignReferenceToPlaybackFrame(size_t) const;
+
     bool haveInProgressSelection() const;
     const Selection &getInProgressSelection(bool &exclusive) const;
     void setInProgressSelection(const Selection &selection, bool exclusive);
@@ -98,6 +101,7 @@
 	SelectMode,
         EditMode,
 	DrawMode,
+	EraseMode,
 	MeasureMode
     };
     ToolMode getToolMode() const { return m_toolMode; }