diff framework/MainWindowBase.h @ 145:937456ffe33e

* Much more sensible pane layouts, etc., when loading RDF; also offer choice of adding to current session or starting new session if RDF references audio (needs some refinement)
author Chris Cannam
date Fri, 28 Nov 2008 15:45:20 +0000
parents 9a8c73ffdce0
children f90dcec6dd9a
line wrap: on
line diff
--- a/framework/MainWindowBase.h	Fri Nov 28 13:36:13 2008 +0000
+++ b/framework/MainWindowBase.h	Fri Nov 28 15:45:20 2008 +0000
@@ -250,6 +250,7 @@
     virtual void inProgressSelectionChanged();
 
     virtual FileOpenStatus openSessionFromRDF(FileSource source);
+    virtual FileOpenStatus openLayersFromRDF(FileSource source);
 
     virtual void closeSession() = 0;
 
@@ -375,6 +376,8 @@
     virtual void setupMenus() = 0;
     virtual void updateVisibleRangeDisplay(Pane *p) const = 0;
 
+    virtual bool shouldCreateNewSessionForRDFAudio() { return true; }
+
     virtual void connectLayerEditDialog(ModelDataTableDialog *dialog);
 
     virtual void toXml(QTextStream &stream);