Changes in src/UIElements/Dialog.hpp [2ededc2:5a7243]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Dialog.hpp
r2ededc2 r5a7243 15 15 class molecule; 16 16 class Vector; 17 class element; 17 18 18 19 class Dialog … … 27 28 virtual void queryMolecule(const char*,molecule**,MoleculeListClass*)=0; 28 29 virtual void queryVector(const char*,Vector *,const double *const,bool)=0; 30 virtual void queryElement(const char*,element **)=0; 29 31 30 32 virtual bool display(); … … 45 47 public: 46 48 Query(std::string _title); 47 ~Query();49 virtual ~Query(); 48 50 virtual bool handle()=0; 49 51 virtual void setResult()=0; … … 58 60 public: 59 61 IntQuery(std::string title,int *_target); 60 ~IntQuery();62 virtual ~IntQuery(); 61 63 virtual bool handle()=0; 62 64 virtual void setResult(); … … 70 72 public: 71 73 DoubleQuery(std::string title,double *_target); 72 ~DoubleQuery();74 virtual ~DoubleQuery(); 73 75 virtual bool handle()=0; 74 76 virtual void setResult(); … … 82 84 public: 83 85 StringQuery(std::string title,std::string *_target); 84 ~StringQuery();86 virtual ~StringQuery(); 85 87 virtual bool handle()=0; 86 88 virtual void setResult(); … … 95 97 public: 96 98 MoleculeQuery(std::string title, molecule **_target, MoleculeListClass *_molecules); 97 ~MoleculeQuery();99 virtual ~MoleculeQuery(); 98 100 virtual bool handle()=0; 99 101 virtual void setResult(); … … 108 110 public: 109 111 VectorQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check); 110 ~VectorQuery();112 virtual ~VectorQuery(); 111 113 virtual bool handle()=0; 112 114 virtual void setResult(); … … 119 121 }; 120 122 123 class ElementQuery : public Query { 124 public: 125 ElementQuery(std::string title, element**_target); 126 virtual ~ElementQuery(); 127 virtual bool handle()=0; 128 virtual void setResult(); 129 protected: 130 element *tmp; 131 private: 132 element **target; 133 }; 134 121 135 void registerQuery(Query* query); 122 136
Note:
See TracChangeset
for help on using the changeset viewer.