subsurface/profile-widget
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
..
animationfunctions.cpp Profile: add speed parameter to Animation::* functions 2019-07-12 09:59:28 +02:00
animationfunctions.h Profile: add speed parameter to Animation::* functions 2019-07-12 09:59:28 +02:00
CMakeLists.txt build-system: move qmlprofile to profile-widgets/CMakeLists.txt 2019-12-24 06:18:36 +09:00
divecartesianaxis.cpp Fix math in valueAt 2019-08-08 08:56:44 -07:00
divecartesianaxis.h cleanup: turn protected into private members 2020-04-13 17:18:37 -07:00
diveeventitem.cpp profile: properly update lastgasmix when populating events 2020-05-01 21:44:50 +02:00
diveeventitem.h Profile: take int instead of bool in DiveEventItem::recalculatePos 2019-07-12 09:59:28 +02:00
divelineitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divelineitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divepixmapitem.cpp undo: make picture (media) deletion undoable 2020-05-06 13:58:09 -07:00
divepixmapitem.h cleanup: turn protected into private members 2020-04-13 17:18:37 -07:00
diveprofileitem.cpp Preferences UI: add dive log tab 2019-12-25 02:57:42 +09:00
diveprofileitem.h cleanup: turn protected into private members 2020-04-13 17:18:37 -07:00
diverectitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
diverectitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetextitem.cpp Cleanup: move error reporting function declarations to errorhelper.h 2019-08-08 16:26:30 -07:00
divetextitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetooltipitem.cpp Profile: clear tooltip's plotInfo in ProfileWidget2::setEmptyState 2019-11-16 08:29:53 -08:00
divetooltipitem.h code cleanup: use QElapsedTimer instead of QTime 2020-01-10 02:37:03 +09:00
profilewidget2.cpp cleanup: fold core/divecomputer.cpp into core/device.c 2020-09-13 13:54:59 -07:00
profilewidget2.h undo: make picture (media) deletion undoable 2020-05-06 13:58:09 -07:00
qmlprofile.cpp cleanup: fix initialization order in QMLProfile constructor 2020-03-30 13:58:10 -07:00
qmlprofile.h mobile/profile: adjust offsets when scaling 2020-03-25 09:28:05 -07:00
ruleritem.cpp Profile: change get_plot_pressure to take index instead of pointer 2019-11-09 19:19:04 +01:00
ruleritem.h cleanup: turn protected into private members 2020-04-13 17:18:37 -07:00
tankitem.cpp Cylinders: access cylinders with get_cylinder() 2019-11-09 19:19:04 +01:00
tankitem.h Profile: don't crash when there are no cylinders 2019-11-09 19:19:04 +01:00