Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/TextDialog.hpp

    r2ededc2 r5a7243  
    2424  virtual void queryMolecule(const char*,molecule**,MoleculeListClass*);
    2525  virtual void queryVector(const char*,Vector *,const double * const,bool);
     26  virtual void queryElement(const char*,element **);
    2627
    2728protected:
     
    3031  public:
    3132    IntTextQuery(std::string title, int *_target);
    32     ~IntTextQuery();
     33    virtual ~IntTextQuery();
    3334    virtual bool handle();
    3435  };
     
    3738  public:
    3839    DoubleTextQuery(std::string title, double *_target);
    39     ~DoubleTextQuery();
     40    virtual ~DoubleTextQuery();
    4041    virtual bool handle();
    4142  };
     
    4445  public:
    4546    StringTextQuery(std::string title, std::string *_target);
    46     ~StringTextQuery();
     47    virtual ~StringTextQuery();
    4748    virtual bool handle();
    4849  };
     
    5152  public:
    5253    MoleculeTextQuery(std::string title, molecule **_target, MoleculeListClass *_molecules);
    53     ~MoleculeTextQuery();
     54    virtual ~MoleculeTextQuery();
    5455    virtual bool handle();
    5556  };
     
    5859  public:
    5960    VectorTextQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check);
    60     ~VectorTextQuery();
     61    virtual ~VectorTextQuery();
     62    virtual bool handle();
     63  };
     64
     65  class ElementTextQuery : public Dialog::ElementQuery {
     66  public:
     67    ElementTextQuery(std::string title, element **_target);
     68    virtual ~ElementTextQuery();
    6169    virtual bool handle();
    6270  };
Note: See TracChangeset for help on using the changeset viewer.