Mercurial > hg > svcore
diff base/ViewManager.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 | e1aad27029e3 |
children | 163f3428bbe0 |
line wrap: on
line diff
--- a/base/ViewManager.h Thu Apr 06 17:24:13 2006 +0000 +++ b/base/ViewManager.h Fri Apr 07 17:50:33 2006 +0000 @@ -23,6 +23,7 @@ #include "Selection.h" #include "Command.h" +#include "Clipboard.h" class AudioPlaySource; class Model; @@ -74,6 +75,8 @@ */ Selection getContainingSelection(size_t frame, bool defaultToFollowing) const; + Clipboard &getClipboard() { return m_clipboard; } + enum ToolMode { NavigateMode, SelectMode, @@ -152,6 +155,8 @@ Selection m_inProgressSelection; bool m_inProgressExclusive; + Clipboard m_clipboard; + ToolMode m_toolMode; bool m_playLoopMode;