Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Dialog.hpp

    r94d131 r84c494  
    1414
    1515class atom;
     16class Box;
    1617class element;
    1718class molecule;
     
    3132  virtual void queryAtom(const char*,atom**,std::string = "")=0;
    3233  virtual void queryMolecule(const char*,molecule**, 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;
     34  virtual void queryVector(const char*,Vector *,bool, std::string = "")=0;
     35  virtual void queryBox(const char*,Box*, std::string = "")=0;
    3536  virtual void queryElement(const char*, std::vector<element *> *, std::string = "")=0;
    3637
     
    148149  class VectorQuery : public Query {
    149150  public:
    150       VectorQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check, std::string _description = "");
     151      VectorQuery(std::string title,Vector *_target,bool _check, std::string _description = "");
    151152      virtual ~VectorQuery();
    152153      virtual bool handle()=0;
     
    154155    protected:
    155156      Vector *tmp;
    156       const double *const cellSize;
    157157      bool check;
    158158    private:
     
    162162  class BoxQuery : public Query {
    163163  public:
    164       BoxQuery(std::string title,double ** const _cellSize, std::string _description = "");
     164      BoxQuery(std::string title,Box *_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       double **target;
     171      Box* target;
    172172  };
    173173
Note: See TracChangeset for help on using the changeset viewer.