subsurface/packaging
Berthold Stoeger a01ab81713 cleanup: fold core/divecomputer.cpp into core/device.c
core/device.h was declaring a number of functions that were related
to divecomputers (dcs): creating a fake dc for manually entered dives
and registering / accessing dc nicknames. On could argue whether
these should be lumped together, but it is what it is.

However, part of that was implemented in C++/Qt code in a separate
core/divecomputer.cpp file. Some function therein where only
accessible to C++ and declared in core/divecomputer.h.

All in all, a big mess. Let's simply combine the files and
conditionally compile the C++-only functions depending on
the __cplusplus define.

Yes, that means turning device.c into device.cpp. A brave soul
might turn the C++/Qt code into C code if they whish later on.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-09-13 13:54:59 -07:00
..
android Android: install translations into the right place 2020-05-27 12:41:14 -07:00
headless Preserve wiki pages about headless Subsurface from trac wiki 2018-01-19 15:25:37 +01:00
ios cleanup: fold core/divecomputer.cpp into core/device.c 2020-09-13 13:54:59 -07:00
macosx build-system: add backend_shared to Xcode project 2019-12-24 08:44:23 +09:00
OBS move GitHub url to the Subsurface org 2020-04-26 16:36:30 -07:00
ubuntu build-system: update Ubuntu distros that we build for 2020-09-03 11:43:24 -07:00
windows build-system/MXE: build with more up to date MXE tools. 2020-06-25 11:00:51 -07:00