summaryrefslogtreecommitdiffstats
path: root/backend-shared/plannershared.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend-shared/plannershared.cpp')
-rw-r--r--backend-shared/plannershared.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/backend-shared/plannershared.cpp b/backend-shared/plannershared.cpp
index 9bb8ad315..bdfc7b399 100644
--- a/backend-shared/plannershared.cpp
+++ b/backend-shared/plannershared.cpp
@@ -123,3 +123,30 @@ void plannerShared::set_dobailout(bool value)
qPrefDivePlanner::set_dobailout(value);
DivePlannerPointsModel::instance()->emitDataChanged();
}
+
+bool plannerShared::drop_stone_mode()
+{
+ return qPrefDivePlanner::drop_stone_mode();
+}
+void plannerShared::set_drop_stone_mode(bool value)
+{
+ DivePlannerPointsModel::instance()->setDropStoneMode(value);
+}
+
+bool plannerShared::last_stop()
+{
+ return qPrefDivePlanner::last_stop();
+}
+void plannerShared::set_last_stop(bool value)
+{
+ DivePlannerPointsModel::instance()->setLastStop6m(value);
+}
+
+bool plannerShared::switch_at_req_stop()
+{
+ return qPrefDivePlanner::switch_at_req_stop();
+}
+void plannerShared::set_switch_at_req_stop(bool value)
+{
+ DivePlannerPointsModel::instance()->setSwitchAtReqStop(value);
+}