mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
72bb38601d
commit
60c7b503cf
9 changed files with 44 additions and 34 deletions
|
|
@ -1,7 +1,13 @@
|
|||
#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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue