Mercurial > hg > svapp
comparison framework/MainWindowBase.h @ 729:15da3ab3d416 csv-export-dialog
Split export functions into file-type-specific ones; accept various CSV-specific arguments
author | Chris Cannam |
---|---|
date | Tue, 14 Jan 2020 15:42:46 +0000 |
parents | 1e2e03197b8c |
children | 48001ed9143b 7b1d30af4b38 |
comparison
equal
deleted
inserted
replaced
728:2dce002539a0 | 729:15da3ab3d416 |
---|---|
68 class Labeller; | 68 class Labeller; |
69 class ModelDataTableDialog; | 69 class ModelDataTableDialog; |
70 class QSignalMapper; | 70 class QSignalMapper; |
71 class QShortcut; | 71 class QShortcut; |
72 class AlignmentModel; | 72 class AlignmentModel; |
73 class LayerGeometryProvider; | |
73 | 74 |
74 namespace breakfastquay { | 75 namespace breakfastquay { |
75 class SystemPlaybackTarget; | 76 class SystemPlaybackTarget; |
76 class SystemAudioIO; | 77 class SystemAudioIO; |
77 class ResamplerWrapper; | 78 class ResamplerWrapper; |
163 virtual FileOpenStatus openSessionTemplate(FileSource source); | 164 virtual FileOpenStatus openSessionTemplate(FileSource source); |
164 | 165 |
165 virtual bool saveSessionFile(QString path); | 166 virtual bool saveSessionFile(QString path); |
166 virtual bool saveSessionTemplate(QString path); | 167 virtual bool saveSessionTemplate(QString path); |
167 | 168 |
168 virtual bool exportLayerTo(Layer *layer, View *fromView, | 169 virtual bool exportLayerToSVL(Layer *layer, |
170 QString toPath, QString &error); | |
171 | |
172 virtual bool exportLayerToMIDI(Layer *layer, | |
173 MultiSelection *selectionsToWrite, // or null | |
174 QString toPath, QString &error); | |
175 | |
176 virtual bool exportLayerToRDF(Layer *layer, | |
177 QString toPath, QString &error); | |
178 | |
179 virtual bool exportLayerToCSV(Layer *layer, LayerGeometryProvider *provider, | |
180 MultiSelection *selectionsToWrite, // or null | |
181 QString delimiter, | |
182 DataExportOptions options, | |
183 QString toPath, QString &error); | |
184 | |
185 // Delegate to one of the above depending on extension of path, | |
186 // using the default export options | |
187 virtual bool exportLayerTo(Layer *layer, LayerGeometryProvider *provider, | |
169 MultiSelection *selectionsToWrite, // or null | 188 MultiSelection *selectionsToWrite, // or null |
170 QString toPath, QString &error); | 189 QString toPath, QString &error); |
171 | 190 |
172 void cueOSCScript(QString filename); | 191 void cueOSCScript(QString filename); |
173 | 192 |
174 /// Implementation of FrameTimer interface method | 193 /// Implementation of FrameTimer interface method |
175 sv_frame_t getFrame() const override; | 194 sv_frame_t getFrame() const override; |
176 | 195 |