diff framework/MainWindowBase.h @ 221:e06a0124c662 templating

Add ReplaceSession open mode for audio files, which discards the session and creates a new one using the template if available. Currently this is available as an additional option in the AskUser mode dialog -- this might bear future simplification. Addresses first bit of #148
author Chris Cannam
date Wed, 27 Apr 2011 14:46:06 +0100
parents b96d90975f7c
children ed5804224121
line wrap: on
line diff
--- a/framework/MainWindowBase.h	Wed Apr 27 11:33:48 2011 +0100
+++ b/framework/MainWindowBase.h	Wed Apr 27 14:46:06 2011 +0100
@@ -79,6 +79,7 @@
     virtual ~MainWindowBase();
     
     enum AudioFileOpenMode {
+        ReplaceSession,
         ReplaceMainModel,
         CreateAdditionalModel,
         ReplaceCurrentPane,