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