subsurface/backend-shared
Berthold Stoeger 16b31985c3 cleanup: replace membuffer by membufferpp in C-code
Thus, the membuffer data is automatically freed when going
out of scope - one thing less to worry about.

This fixes one use-after-free bug in uploadDiveLogsDE.cpp
and one extremely questionable practice in divetooltipitem.cpp:
The membuffer was a shared instance across all instances
of the DiveToolTipItem.

Remves unnecessary #include directives in files that didn't
even use membuffer.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-07-23 11:22:43 -07:00
..
CMakeLists.txt ui: create a RoundRectItem class 2021-01-03 13:56:05 -08:00
exportfuncs.cpp cleanup: replace membuffer by membufferpp in C-code 2021-07-23 11:22:43 -07:00
exportfuncs.h export: show progress dialog for profile exports 2021-05-06 08:21:04 -07:00
plannershared.cpp Make MND display depend on O2 narcotic preference 2020-07-11 10:37:49 -07:00
plannershared.h Cleanup: rename plannerShared to PlannerShared 2020-02-04 02:17:52 +01:00
README build-system: add new root dir backend-shared 2019-12-24 08:44:23 +09:00
roundrectitem.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
roundrectitem.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00

This directory contains shared UI backend code shared between
the desktop version and the mobile version.

The backend code sits between the actual functionality, which
are implemented in core and qt-models, and the UI/QML which
are implemented in desktop-widgets and mobile-widgets.

The idea of backend is not to duplicate code, and at the same time
limit the UI and QML to only deal with real GUI.

The first implementations for backend are "export" and "diveplanner".