diff options
Diffstat (limited to 'subsurface-core/devicedetails.h')
-rw-r--r-- | subsurface-core/devicedetails.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-core/devicedetails.h b/subsurface-core/devicedetails.h index b5e59afe8..ff3009bc5 100644 --- a/subsurface-core/devicedetails.h +++ b/subsurface-core/devicedetails.h @@ -10,11 +10,13 @@ struct gas { unsigned char helium; unsigned char type; unsigned char depth; + gas(unsigned char oxygen = 0, unsigned char helium = 0, unsigned char type = 0, unsigned char depth = 0); }; struct setpoint { unsigned char sp; unsigned char depth; + setpoint(unsigned char sp = 0, unsigned char depth = 0); }; class DeviceDetails : public QObject |