/* * DummyUI.hpp * * Created on: Jul 29, 2010 * Author: crueger */ #ifndef DUMMYUI_HPP_ #define DUMMYUI_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "Parameters/Parameter.hpp" #include "UIElements/UIFactory.hpp" #include "UIElements/Dialog.hpp" class DummyDialog : public Dialog { public: DummyDialog(){} virtual ~DummyDialog(){} virtual void queryEmpty(const char *, std::string = ""){} virtual void queryBoolean(Parameter &, const char *, std::string = ""){} virtual void queryInt(Parameter &, const char *, std::string = ""){} virtual void queryInts(Parameter > &, const char *, std::string = ""){} virtual void queryUnsignedInt(Parameter &, const char *, std::string = ""){} virtual void queryUnsignedInts(Parameter > &, const char *, std::string = ""){} virtual void queryString(Parameter &, const char*, std::string = ""){} virtual void queryStrings(Parameter > &, const char*, std::string = ""){} virtual void queryDouble(Parameter &, const char*, std::string = ""){} virtual void queryDoubles(Parameter > &, const char*, std::string = ""){} virtual void queryAtom(Parameter &, const char*,std::string = ""){} virtual void queryAtoms(Parameter > &, const char*,std::string = ""){} virtual void queryMolecule(Parameter &, const char*,std::string = ""){} virtual void queryMolecules(Parameter > &, const char*,std::string = ""){} virtual void queryVector(Parameter &, const char*, std::string = ""){} virtual void queryVectors(Parameter > &, const char*, std::string = ""){} virtual void queryRealSpaceMatrix(Parameter &, const char*, std::string = ""){} virtual void queryElement(Parameter &, const char*, std::string = ""){} virtual void queryElements(Parameter > &, const char*, std::string = ""){} virtual void queryFile(Parameter &, const char*, std::string = ""){} virtual void queryFiles(Parameter >&, const char*, std::string = ""){} virtual void queryRandomNumberDistribution_Parameters(Parameter &, const char*, std::string = ""){} }; class DummyUIFactory : public UIFactory { public: virtual ~DummyUIFactory(){} virtual Dialog* makeDialog(){return new DummyDialog;} virtual MainWindow* makeMainWindow(){return 0;} struct description : public UIFactory::factoryDescription { description(): UIFactory::factoryDescription("Dummy") {} virtual ~description(){} virtual UIFactory* makeFactory(){return new DummyUIFactory;}; }; protected: DummyUIFactory(){} }; #endif /* DUMMYUI_HPP_ */