mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <jan@casacondor.com>
This commit is contained in:
parent
b4eef5548b
commit
c0069d6aee
3 changed files with 35 additions and 0 deletions
9
core/plannershared.cpp
Normal file
9
core/plannershared.cpp
Normal file
|
@ -0,0 +1,9 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "plannershared.h"
|
||||
|
||||
|
||||
plannerShared *plannerShared::instance()
|
||||
{
|
||||
static plannerShared *self = new plannerShared;
|
||||
return self;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue