mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
25 lines
597 B
C
25 lines
597 B
C
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
#ifndef PLANNERSHARED_H
|
||
|
#define PLANNERSHARED_H
|
||
|
#include <QObject>
|
||
|
|
||
|
// This is a shared class (mobile/desktop), and contains the core of the diveplanner
|
||
|
// without UI entanglement.
|
||
|
// It make variables and functions available to QML, these are referenced directly
|
||
|
// in the desktop version
|
||
|
//
|
||
|
// The mobile diveplanner shows all diveplans, but the editing functionality is
|
||
|
// limited to keep the UI simpler.
|
||
|
|
||
|
class plannerShared: public QObject {
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
static plannerShared *instance();
|
||
|
|
||
|
private:
|
||
|
plannerShared() {}
|
||
|
};
|
||
|
|
||
|
#endif // PLANNERSHARED_H
|