Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Dialog.hpp

    r84c494 r94d131  
    1414
    1515class atom;
    16 class Box;
    1716class element;
    1817class molecule;
     
    3231  virtual void queryAtom(const char*,atom**,std::string = "")=0;
    3332  virtual void queryMolecule(const char*,molecule**, std::string = "")=0;
    34   virtual void queryVector(const char*,Vector *,bool, std::string = "")=0;
    35   virtual void queryBox(const char*,Box*, std::string = "")=0;
     33  virtual void queryVector(const char*,Vector *,const double *const,bool, std::string = "")=0;
     34  virtual void queryBox(const char*,double ** const, std::string = "")=0;
    3635  virtual void queryElement(const char*, std::vector<element *> *, std::string = "")=0;
    3736
     
    149148  class VectorQuery : public Query {
    150149  public:
    151       VectorQuery(std::string title,Vector *_target,bool _check, std::string _description = "");
     150      VectorQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check, std::string _description = "");
    152151      virtual ~VectorQuery();
    153152      virtual bool handle()=0;
     
    155154    protected:
    156155      Vector *tmp;
     156      const double *const cellSize;
    157157      bool check;
    158158    private:
     
    162162  class BoxQuery : public Query {
    163163  public:
    164       BoxQuery(std::string title,Box *_cellSize, std::string _description = "");
     164      BoxQuery(std::string title,double ** const _cellSize, std::string _description = "");
    165165      virtual ~BoxQuery();
    166166      virtual bool handle()=0;
    167167      virtual void setResult();
    168168    protected:
    169       double* tmp;
     169      double *tmp;
    170170    private:
    171       Box* target;
     171      double **target;
    172172  };
    173173
Note: See TracChangeset for help on using the changeset viewer.