/* * 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(const std::string &_title) : Dialog(_title) {} virtual ~DummyDialog(){} virtual void queryEmpty(const std::string ="", const std::string = ""){}; virtual void queryBoolean(Parameter &, const std::string ="", const std::string = ""){}; virtual void queryInt(Parameter &, const std::string ="", const std::string = ""){}; virtual void queryInts(Parameter > &, const std::string ="", const std::string = ""){}; virtual void queryUnsignedInt(Parameter &, const std::string ="", const std::string = ""){}; virtual void queryUnsignedInts(Parameter > &, const std::string ="", const std::string = ""){}; virtual void queryDouble(Parameter &, const std::string ="", const std::string = ""){}; virtual void queryDoubles(Parameter > &, const std::string ="", const std::string = ""){}; virtual void queryString(Parameter &, const std::string ="", const std::string = ""){}; virtual void queryStrings(Parameter > &, const std::string ="", const std::string = ""){}; virtual void queryAtom(Parameter &, const std::string = "", const std::string = ""){}; virtual void queryAtoms(Parameter > &, const std::string = "", const std::string = ""){}; virtual void queryMolecule(Parameter &, const std::string ="", const std::string = ""){}; virtual void queryMolecules(Parameter > &, const std::string ="", const std::string = ""){}; virtual void queryVector(Parameter &, const std::string ="", const std::string = ""){}; virtual void queryVectors(Parameter > &, const std::string ="", const std::string = ""){}; virtual void queryRealSpaceMatrix(Parameter &, const std::string ="", const std::string = ""){}; virtual void queryElement(Parameter &, const std::string ="", const std::string = ""){}; virtual void queryElements(Parameter > &, const std::string ="", const std::string = ""){}; virtual void queryFile(Parameter &, const std::string ="", const std::string = ""){}; virtual void queryFiles(Parameter< std::vector > &, const std::string ="", const std::string = ""){}; virtual void queryKeyValuePair(Parameter &, const std::string ="", const std::string = ""){}; virtual void queryKeyValuePairs(Parameter > &, const std::string ="", const std::string = ""){}; }; class DummyUIFactory : public UIFactory { public: virtual ~DummyUIFactory(){} virtual Dialog* makeDialog(const std::string &_title){return new DummyDialog(_title);} 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_ */