/* * Project: MoleCuilder * Description: creates and alters molecular systems * Copyright (C) 2010 University of Bonn. All rights reserved. * Please see the LICENSE file or "Copyright notice" in builder.cpp for details. */ /* * CommandLineUIFactory.cpp * * Created on: May 8, 2010 * Author: heber */ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "CodePatterns/MemDebug.hpp" #include "CommandLineUI/CommandLineUIFactory.hpp" #include "CommandLineUI/CommandLineWindow.hpp" #include "CommandLineUI/CommandLineDialog.hpp" CommandLineUIFactory::CommandLineUIFactory() { // TODO Auto-generated constructor stub } CommandLineUIFactory::~CommandLineUIFactory() { // TODO Auto-generated destructor stub } Dialog* CommandLineUIFactory::makeDialog() { return new CommandLineDialog(); } MainWindow* CommandLineUIFactory::makeMainWindow() { return new CommandLineWindow(); } CommandLineUIFactory::description::description() : UIFactory::factoryDescription("CommandLine") {} CommandLineUIFactory::description::~description() {} UIFactory* CommandLineUIFactory::description::makeFactory(){ return new CommandLineUIFactory(); }