mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
3f63660267
This is a feature that many people have asked for. This implementation is somewhat simplistic because we simply use a different name for the program settings - but interestingly enough this appears to be enough to capture a lot of the core functionality that people are looking for in multi-user support. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
28 lines
492 B
C
28 lines
492 B
C
#ifndef SUBSURFACESTARTUP_H
|
|
#define SUBSURFACESTARTUP_H
|
|
|
|
#include "dive.h"
|
|
#include "divelist.h"
|
|
#include "libdivecomputer.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#else
|
|
#include <stdbool.h>
|
|
#endif
|
|
|
|
extern bool imported;
|
|
|
|
void setup_system_prefs(void);
|
|
void parse_argument(const char *arg);
|
|
void free_prefs(void);
|
|
void copy_prefs(struct preferences *src, struct preferences *dest);
|
|
void print_files(void);
|
|
|
|
extern char *settings_suffix;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // SUBSURFACESTARTUP_H
|