2017-04-27 18:18:03 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2013-09-09 08:59:03 +00:00
|
|
|
#ifndef SUBSURFACESTARTUP_H
|
|
|
|
#define SUBSURFACESTARTUP_H
|
|
|
|
|
|
|
|
#include "dive.h"
|
|
|
|
#include "divelist.h"
|
|
|
|
#include "libdivecomputer.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
2014-01-16 10:17:06 +00:00
|
|
|
#else
|
|
|
|
#include <stdbool.h>
|
2013-09-09 08:59:03 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
extern bool imported;
|
|
|
|
|
|
|
|
void setup_system_prefs(void);
|
|
|
|
void parse_argument(const char *arg);
|
2014-12-18 07:47:42 +00:00
|
|
|
void free_prefs(void);
|
2015-10-06 09:15:38 +00:00
|
|
|
void copy_prefs(struct preferences *src, struct preferences *dest);
|
2015-09-23 09:13:07 +00:00
|
|
|
void print_files(void);
|
2013-09-09 08:59:03 +00:00
|
|
|
|
2016-04-29 13:17:02 +00:00
|
|
|
extern char *settings_suffix;
|
|
|
|
|
2013-09-09 08:59:03 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2014-02-11 18:14:46 +00:00
|
|
|
#endif // SUBSURFACESTARTUP_H
|