subsurface/core/version.h
Berthold Stoeger 60c7b503cf core: move data file version functions into version.cpp/h
It is unclear why these were located in divelist.cpp/h.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00

13 lines
329 B
C

#ifndef VERSION_H
#define VERSION_H
/* this is used for both git and xml format */
static constexpr int dataformat_version = 3;
const char *subsurface_git_version();
const char *subsurface_canonical_version();
int get_min_datafile_version();
void report_datafile_version(int version);
int clear_min_datafile_version();
#endif