diff main/MainWindow.h @ 180:98ba77e0d897

* Merge from sv-match-alignment branch (excluding alignment-specific document). - add aggregate wave model (not yet complete enough to be added as a true model in a layer, but there's potential) - add play solo mode - add alignment model -- unused in plain SV - fix two plugin leaks - add m3u playlist support (opens all files at once, potentially hazardous) - fix retrieval of pre-encoded URLs - add ability to resample audio files on import, so as to match rates with other files previously loaded; add preference for same - add preliminary support in transform code for range and rate of transform input - reorganise preferences dialog, move dark-background option to preferences, add option for temporary directory location
author Chris Cannam
date Fri, 28 Sep 2007 13:56:38 +0000
parents 5bde373ad5ca
children 26397b84e6a2
line wrap: on
line diff
--- a/main/MainWindow.h	Fri Sep 21 09:13:11 2007 +0000
+++ b/main/MainWindow.h	Fri Sep 28 13:56:38 2007 +0000
@@ -79,9 +79,11 @@
 
     FileOpenStatus openSomeFile(QString path, AudioFileOpenMode = AskUser);
     FileOpenStatus openAudioFile(QString path, AudioFileOpenMode = AskUser);
+    FileOpenStatus openPlaylistFile(QString path, AudioFileOpenMode = AskUser);
     FileOpenStatus openLayerFile(QString path);
     FileOpenStatus openSessionFile(QString path);
-    FileOpenStatus openURL(QUrl url);
+    FileOpenStatus openURL(QUrl url, AudioFileOpenMode = AskUser);
+    FileOpenStatus openURL(QString url, AudioFileOpenMode = AskUser);
 
     bool saveSessionFile(QString path);
     bool commitData(bool mayAskUser); // on session shutdown
@@ -155,7 +157,6 @@
     void toggleZoomWheels();
     void togglePropertyBoxes();
     void toggleStatusBar();
-    void toggleDarkBackground();
 
     void play();
     void ffwd();
@@ -172,6 +173,7 @@
 
     void playLoopToggled();
     void playSelectionToggled();
+    void playSoloToggled();
     void playSpeedChanged(int);
     void playSharpenToggled();
     void playMonoToggled();
@@ -302,6 +304,8 @@
     QPointer<PreferencesDialog> m_preferencesDialog;
     QPointer<QTreeView>      m_layerTreeView;
 
+    bool                     m_initialDarkBackground;
+
     KeyReference            *m_keyReference;
 
     WaveFileModel *getMainModel();
@@ -412,6 +416,8 @@
                                 AudioFileOpenMode = AskUser);
     FileOpenStatus openAudioFile(QString path, QString location,
                                  AudioFileOpenMode = AskUser);
+    FileOpenStatus openPlaylistFile(QString path, QString location,
+                                    AudioFileOpenMode = AskUser);
     FileOpenStatus openLayerFile(QString path, QString location);
     FileOpenStatus openSessionFile(QString path, QString location);