Mercurial > hg > svapp
comparison 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 |
comparison
equal
deleted
inserted
replaced
220:0b1886cee2cf | 221:e06a0124c662 |
---|---|
77 public: | 77 public: |
78 MainWindowBase(bool withAudioOutput, bool withOSCSupport, bool withMIDIInput); | 78 MainWindowBase(bool withAudioOutput, bool withOSCSupport, bool withMIDIInput); |
79 virtual ~MainWindowBase(); | 79 virtual ~MainWindowBase(); |
80 | 80 |
81 enum AudioFileOpenMode { | 81 enum AudioFileOpenMode { |
82 ReplaceSession, | |
82 ReplaceMainModel, | 83 ReplaceMainModel, |
83 CreateAdditionalModel, | 84 CreateAdditionalModel, |
84 ReplaceCurrentPane, | 85 ReplaceCurrentPane, |
85 AskUser | 86 AskUser |
86 }; | 87 }; |