/* * TextUIFactory.cpp * * Created on: Jan 5, 2010 * Author: crueger */ #include "UIElements/TextUIFactory.hpp" #include "UIElements/TextWindow.hpp" #include "UIElements/TextDialog.hpp" TextUIFactory::TextUIFactory() {} TextUIFactory::~TextUIFactory() {} Dialog* TextUIFactory::makeDialog() { return new TextDialog(); } MainWindow* TextUIFactory::makeMainWindow(menuPopulaters populaters,MoleculeListClass *molecules, config *configuration, periodentafel *periode, char *ConfigFileName) { return new TextWindow(populaters,molecules,configuration,periode,ConfigFileName); } TextUIFactory::description::description() : UIFactory::factoryDescription("Text") {} TextUIFactory::description::~description() {} UIFactory* TextUIFactory::description::makeFactory(){ return new TextUIFactory(); }