comparison framework/MainWindowBase.h @ 373:024226dd9f51

Give these two functions different names, not just different arg lists
author Chris Cannam
date Thu, 19 Jun 2014 14:43:41 +0100
parents f1cab64363d7
children a7a643988390
comparison
equal deleted inserted replaced
371:dfcc5b355f33 373:024226dd9f51
91 FileOpenFailed, 91 FileOpenFailed,
92 FileOpenCancelled, 92 FileOpenCancelled,
93 FileOpenWrongMode // attempted to open layer when no main model present 93 FileOpenWrongMode // attempted to open layer when no main model present
94 }; 94 };
95 95
96 virtual FileOpenStatus open(QString fileOrUrl, AudioFileOpenMode = AskUser);
97 virtual FileOpenStatus open(FileSource source, AudioFileOpenMode = AskUser); 96 virtual FileOpenStatus open(FileSource source, AudioFileOpenMode = AskUser);
98 97 virtual FileOpenStatus openPath(QString fileOrUrl, AudioFileOpenMode = AskUser);
99 virtual FileOpenStatus openAudio(FileSource source, AudioFileOpenMode = AskUser, QString templateName = ""); 98 virtual FileOpenStatus openAudio(FileSource source, AudioFileOpenMode = AskUser, QString templateName = "");
100 virtual FileOpenStatus openPlaylist(FileSource source, AudioFileOpenMode = AskUser); 99 virtual FileOpenStatus openPlaylist(FileSource source, AudioFileOpenMode = AskUser);
101 virtual FileOpenStatus openLayer(FileSource source); 100 virtual FileOpenStatus openLayer(FileSource source);
102 virtual FileOpenStatus openImage(FileSource source); 101 virtual FileOpenStatus openImage(FileSource source);
103 102
104 virtual FileOpenStatus openSessionFile(QString fileOrUrl);
105 virtual FileOpenStatus openSession(FileSource source); 103 virtual FileOpenStatus openSession(FileSource source);
104 virtual FileOpenStatus openSessionPath(QString fileOrUrl);
106 virtual FileOpenStatus openSessionTemplate(QString templateName); 105 virtual FileOpenStatus openSessionTemplate(QString templateName);
107 virtual FileOpenStatus openSessionTemplate(FileSource source); 106 virtual FileOpenStatus openSessionTemplate(FileSource source);
108 107
109 virtual bool saveSessionFile(QString path); 108 virtual bool saveSessionFile(QString path);
110 virtual bool saveSessionTemplate(QString path); 109 virtual bool saveSessionTemplate(QString path);