aboutsummaryrefslogtreecommitdiffstats
path: root/commands/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command.h')
-rw-r--r--commands/command.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/command.h b/commands/command.h
index 66122ac99..fc1ddf582 100644
--- a/commands/command.h
+++ b/commands/command.h
@@ -92,7 +92,12 @@ int removeWeight(int index, bool currentDiveOnly);
int editWeight(int index, weightsystem_t ws, bool currentDiveOnly);
int addCylinder(bool currentDiveOnly);
int removeCylinder(int index, bool currentDiveOnly);
-int editCylinder(int index, cylinder_t cyl, bool currentDiveOnly);
+enum class EditCylinderType {
+ TYPE,
+ PRESSURE,
+ GASMIX
+};
+int editCylinder(int index, cylinder_t cyl, EditCylinderType type, bool currentDiveOnly);
#ifdef SUBSURFACE_MOBILE
// Edits a dive and creates a divesite (if createDs != NULL) or edits a divesite (if changeDs != NULL).
// Takes ownership of newDive and createDs!