Changes in src/UIElements/Dialog.hpp [97ebf8:94d131]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Dialog.hpp
r97ebf8 r94d131 11 11 #include<string> 12 12 #include<list> 13 #include<vector> 13 14 14 15 class atom; … … 32 33 virtual void queryVector(const char*,Vector *,const double *const,bool, std::string = "")=0; 33 34 virtual void queryBox(const char*,double ** const, std::string = "")=0; 34 virtual void queryElement(const char*, const element **, std::string = "")=0;35 virtual void queryElement(const char*, std::vector<element *> *, std::string = "")=0; 35 36 36 37 virtual bool display(); … … 49 50 //base class for all queries 50 51 class Query { 52 friend class Dialog; 51 53 public: 52 54 Query(std::string _title, std::string _description = ""); … … 172 174 class ElementQuery : public Query { 173 175 public: 174 ElementQuery(std::string title, const element**_target, std::string _description = "");176 ElementQuery(std::string title, std::vector<element *> *_target, std::string _description = ""); 175 177 virtual ~ElementQuery(); 176 178 virtual bool handle()=0; 177 179 virtual void setResult(); 178 180 protected: 179 const element *tmp;181 std::vector<element *> elements; 180 182 private: 181 const element **target;183 std::vector<element *> * const target; 182 184 }; 183 185
Note:
See TracChangeset
for help on using the changeset viewer.