/* * modelCDMMain.cpp * * Created on: 13/11/2012 * Author: daniel */ #include "modelCDMMain.h" #include modelCDMMain::modelCDMMain() { this->project = NULL; } modelCDMMain::~modelCDMMain() { if (this->project != NULL) delete this->project; } modelCDMProject* modelCDMMain::GetProject() { return this->project; } void modelCDMMain::SetProject(modelCDMProject* project) { if(this->project != NULL && this->project != project) delete this->project; this->project = project; }