comparison main/MainWindow.cpp @ 91:7005d8a9f0e0

* Attempt to improve management of FFT models that are not currently in use. I think these are some problems with this at the moment.
author Chris Cannam
date Fri, 19 Jan 2007 14:38:57 +0000
parents 51ea003f8f99
children 14cc0a78f340
comparison
equal deleted inserted replaced
90:51ea003f8f99 91:7005d8a9f0e0
47 #include "data/fileio/DataFileReaderFactory.h" 47 #include "data/fileio/DataFileReaderFactory.h"
48 #include "data/fileio/WavFileWriter.h" 48 #include "data/fileio/WavFileWriter.h"
49 #include "data/fileio/CSVFileWriter.h" 49 #include "data/fileio/CSVFileWriter.h"
50 #include "data/fileio/BZipFileDevice.h" 50 #include "data/fileio/BZipFileDevice.h"
51 #include "data/fileio/RemoteFile.h" 51 #include "data/fileio/RemoteFile.h"
52 #include "data/fft/FFTDataServer.h"
52 #include "base/RecentFiles.h" 53 #include "base/RecentFiles.h"
53 #include "transform/TransformFactory.h" 54 #include "transform/TransformFactory.h"
54 #include "base/PlayParameterRepository.h" 55 #include "base/PlayParameterRepository.h"
55 #include "base/XmlExportable.h" 56 #include "base/XmlExportable.h"
56 #include "base/CommandHistory.h" 57 #include "base/CommandHistory.h"
3639 void 3640 void
3640 MainWindow::modelAboutToBeDeleted(Model *model) 3641 MainWindow::modelAboutToBeDeleted(Model *model)
3641 { 3642 {
3642 // std::cerr << "MainWindow::modelAboutToBeDeleted(" << model << ")" << std::endl; 3643 // std::cerr << "MainWindow::modelAboutToBeDeleted(" << model << ")" << std::endl;
3643 m_playSource->removeModel(model); 3644 m_playSource->removeModel(model);
3645 FFTDataServer::modelAboutToBeDeleted(model);
3644 } 3646 }
3645 3647
3646 void 3648 void
3647 MainWindow::modelGenerationFailed(QString transformName) 3649 MainWindow::modelGenerationFailed(QString transformName)
3648 { 3650 {