Advertisement
Guest User

watering

a guest
Nov 12th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. #ifndef WATERING_H
  2. #define WATERING_H
  3.  
  4. #include "record.h"
  5.  
  6.  
  7. class Watering : public Record
  8. {
  9. public:
  10.     Watering();
  11.     Watering(int, double, const std::string&, const std::string&,
  12.              const std::string&, QDate);
  13.     Watering(const Watering&);
  14.  
  15.     double getVolume() const;
  16.    
  17.     void setVolume(double);
  18.  
  19. private:
  20.     double volume;
  21. };
  22.  
  23. #endif // WATERING_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement