From c0069d6aee16b3acf9d00e6dc4ca0827ba31c5b5 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 8 Dec 2019 19:30:39 +0100 Subject: core: add plannerShared class Add a plannerShared class, whose purpose is to contain shared functions between mobile and desktop This class is the inner workings of the diveplanner not the UI Signed-off-by: Jan Iversen --- core/plannershared.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 core/plannershared.cpp (limited to 'core/plannershared.cpp') diff --git a/core/plannershared.cpp b/core/plannershared.cpp new file mode 100644 index 000000000..ddfc73642 --- /dev/null +++ b/core/plannershared.cpp @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "plannershared.h" + + +plannerShared *plannerShared::instance() +{ + static plannerShared *self = new plannerShared; + return self; +} -- cgit v1.2.3-70-g09d2