comparison framework/MainWindowBase.cpp @ 291:3fc0df289533

Add CSVFile option
author Chris Cannam
date Wed, 09 Oct 2013 14:56:20 +0100
parents 2925a4bbca5e
children bc78f88a66f5 068235cf5bf7
comparison
equal deleted inserted replaced
289:2925a4bbca5e 291:3fc0df289533
309 return ff->getOpenFileName(type, m_sessionFile); 309 return ff->getOpenFileName(type, m_sessionFile);
310 case FileFinder::SessionOrAudioFile: 310 case FileFinder::SessionOrAudioFile:
311 return ff->getOpenFileName(type, m_sessionFile); 311 return ff->getOpenFileName(type, m_sessionFile);
312 case FileFinder::ImageFile: 312 case FileFinder::ImageFile:
313 return ff->getOpenFileName(type, m_sessionFile); 313 return ff->getOpenFileName(type, m_sessionFile);
314 case FileFinder::CSVFile:
315 return ff->getOpenFileName(type, m_sessionFile);
314 case FileFinder::AnyFile: 316 case FileFinder::AnyFile:
315 if (getMainModel() != 0 && 317 if (getMainModel() != 0 &&
316 m_paneStack != 0 && 318 m_paneStack != 0 &&
317 m_paneStack->getCurrentPane() != 0) { // can import a layer 319 m_paneStack->getCurrentPane() != 0) { // can import a layer
318 return ff->getOpenFileName(FileFinder::AnyFile, m_sessionFile); 320 return ff->getOpenFileName(FileFinder::AnyFile, m_sessionFile);
338 case FileFinder::LayerFileNoMidi: 340 case FileFinder::LayerFileNoMidi:
339 return ff->getSaveFileName(type, m_sessionFile); 341 return ff->getSaveFileName(type, m_sessionFile);
340 case FileFinder::SessionOrAudioFile: 342 case FileFinder::SessionOrAudioFile:
341 return ff->getSaveFileName(type, m_sessionFile); 343 return ff->getSaveFileName(type, m_sessionFile);
342 case FileFinder::ImageFile: 344 case FileFinder::ImageFile:
345 return ff->getSaveFileName(type, m_sessionFile);
346 case FileFinder::CSVFile:
343 return ff->getSaveFileName(type, m_sessionFile); 347 return ff->getSaveFileName(type, m_sessionFile);
344 case FileFinder::AnyFile: 348 case FileFinder::AnyFile:
345 return ff->getSaveFileName(type, m_sessionFile); 349 return ff->getSaveFileName(type, m_sessionFile);
346 } 350 }
347 return ""; 351 return "";