Berthold Stoeger
cc39f709ce
core: add constructor/destructor pairs to dive and divecomputer
...
This allows us to use non-C member variables. Convert a number
of pointers to unique_ptr<>s.
Code in uemis-downloader.cpp had to be refactored, because
it mixed owning and non-owning pointers. Mad.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
Berthold Stoeger
2df30a4144
core: remove ssrf.h include file
...
It didn't contain anything.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
Berthold Stoeger
b8c7b173c6
core: make event name an std::string
...
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
Berthold Stoeger
b56dd13add
build: remove extern "C" linkage
...
No more C source files, no more necessity to use C-linkage.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
Berthold Stoeger
da7ea17b66
cleanup: replace fprintf to stderr by report_info()
...
Let's try to unify debugging output!
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-04-23 07:47:11 +07:00
Berthold Stoeger
8d96b7557d
core: convert parser_state to C++
...
Add constructor, destructor and use std::string for memory
management of text data.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-03-10 11:01:42 +13:00
Berthold Stoeger
5e466d91f0
core: convert core/import-*.c to C++
...
import-csv.c was crazy with implicit (const char *) to (char *)
conversions!
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-03-10 11:01:42 +13:00