comparison main/MainWindow.h @ 85:4eae5b521a34

* Framework for retrieving files from remote locations
author Chris Cannam
date Mon, 08 Jan 2007 17:04:35 +0000
parents d82e332cb178
children 6113fdda2737
comparison
equal deleted inserted replaced
84:41c491657587 85:4eae5b521a34
16 #ifndef _MAIN_WINDOW_H_ 16 #ifndef _MAIN_WINDOW_H_
17 #define _MAIN_WINDOW_H_ 17 #define _MAIN_WINDOW_H_
18 18
19 #include <QFrame> 19 #include <QFrame>
20 #include <QString> 20 #include <QString>
21 #include <QUrl>
21 #include <QMainWindow> 22 #include <QMainWindow>
22 #include <QPointer> 23 #include <QPointer>
23 24
24 #include "base/Command.h" 25 #include "base/Command.h"
25 #include "view/ViewManager.h" 26 #include "view/ViewManager.h"
75 76
76 FileOpenStatus openSomeFile(QString path, AudioFileOpenMode = AskUser); 77 FileOpenStatus openSomeFile(QString path, AudioFileOpenMode = AskUser);
77 FileOpenStatus openAudioFile(QString path, AudioFileOpenMode = AskUser); 78 FileOpenStatus openAudioFile(QString path, AudioFileOpenMode = AskUser);
78 FileOpenStatus openLayerFile(QString path); 79 FileOpenStatus openLayerFile(QString path);
79 FileOpenStatus openSessionFile(QString path); 80 FileOpenStatus openSessionFile(QString path);
81 FileOpenStatus openURL(QUrl url);
80 82
81 bool saveSessionFile(QString path); 83 bool saveSessionFile(QString path);
82 bool commitData(bool mayAskUser); // on session shutdown 84 bool commitData(bool mayAskUser); // on session shutdown
83 85
84 signals: 86 signals: