comparison main/MainWindow.h @ 11:0dbd08e365ce

* Add session management support (commitData)
author Chris Cannam
date Tue, 12 Sep 2006 12:15:44 +0000
parents c3ef80114040
children 3715efc38f95
comparison
equal deleted inserted replaced
10:582f4d6e82c7 11:0dbd08e365ce
64 bool openSomeFile(QString path); 64 bool openSomeFile(QString path);
65 bool openAudioFile(QString path, AudioFileOpenMode = AskUser); 65 bool openAudioFile(QString path, AudioFileOpenMode = AskUser);
66 bool openLayerFile(QString path); 66 bool openLayerFile(QString path);
67 bool openSessionFile(QString path); 67 bool openSessionFile(QString path);
68 bool saveSessionFile(QString path); 68 bool saveSessionFile(QString path);
69 bool commitData(bool mayAskUser); // on session shutdown
69 70
70 signals: 71 signals:
71 // Used to toggle the availability of menu actions 72 // Used to toggle the availability of menu actions
72 void canAddPane(bool); 73 void canAddPane(bool);
73 void canDeleteCurrentPane(bool); 74 void canDeleteCurrentPane(bool);