Mercurial > hg > svcore
changeset 43:b8aae4f883b7
* More document structure / main window / file I/O work
author | Chris Cannam |
---|---|
date | Fri, 10 Mar 2006 12:28:22 +0000 |
parents | 7bf163161b88 |
children | 701404725897 |
files | base/Layer.cpp base/Model.cpp base/View.cpp |
diffstat | 3 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/base/Layer.cpp Wed Mar 08 17:47:58 2006 +0000 +++ b/base/Layer.cpp Fri Mar 10 12:28:22 2006 +0000 @@ -21,6 +21,7 @@ Layer::~Layer() { + std::cerr << "Layer::~Layer(" << this << ")" << std::endl; } QString
--- a/base/Model.cpp Wed Mar 08 17:47:58 2006 +0000 +++ b/base/Model.cpp Fri Mar 10 12:28:22 2006 +0000 @@ -10,10 +10,14 @@ #include "Model.h" #include "PlayParameterRepository.h" +#include <iostream> + const int Model::COMPLETION_UNKNOWN = -1; Model::~Model() { + std::cerr << "Model::~Model(" << this << ")" << std::endl; + // Subclasses have to handle adding themselves to the repository, // if they want to be played. We can't do it from here because // the repository would be unable to tell whether we were playable
--- a/base/View.cpp Wed Mar 08 17:47:58 2006 +0000 +++ b/base/View.cpp Fri Mar 10 12:28:22 2006 +0000 @@ -53,14 +53,16 @@ View::~View() { + std::cerr << "View::~View(" << this << ")" << std::endl; + //!!! will want to _not_ delete layers m_deleting = true; - +/*!!! for (LayerList::iterator i = m_layers.begin(); i != m_layers.end(); ++i) { delete *i; } - +*/ delete m_propertyContainer; }