diff framework/MainWindowBase.h @ 210:143e1b56e81b templating

MainWindowBase::openAudio gets a template argument, loaded from a qt resource if exists
author Dan Stowell <dan.stowell@eecs.qmul.ac.uk>
date Fri, 15 Oct 2010 12:08:34 +0100
parents 5a40619c72d8
children eed79c69be61
line wrap: on
line diff
--- a/framework/MainWindowBase.h	Fri Oct 08 13:30:56 2010 +0100
+++ b/framework/MainWindowBase.h	Fri Oct 15 12:08:34 2010 +0100
@@ -95,7 +95,7 @@
     virtual FileOpenStatus open(QString fileOrUrl, AudioFileOpenMode = AskUser);
     virtual FileOpenStatus open(FileSource source, AudioFileOpenMode = AskUser);
     
-    virtual FileOpenStatus openAudio(FileSource source, AudioFileOpenMode = AskUser);
+    virtual FileOpenStatus openAudio(FileSource source, AudioFileOpenMode = AskUser, QString templateName = "");
     virtual FileOpenStatus openPlaylist(FileSource source, AudioFileOpenMode = AskUser);
     virtual FileOpenStatus openLayer(FileSource source);
     virtual FileOpenStatus openImage(FileSource source);