mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-05 00:21:29 +00:00
2b86fe84f9
These flags are not dive-related, therefore move their declaration to the appropriate header file. Likewise, move their definition from parse-xml.c to subsurfacehelper.c Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
29 lines
518 B
C
29 lines
518 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef SUBSURFACESTARTUP_H
|
|
#define SUBSURFACESTARTUP_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#else
|
|
#include <stdbool.h>
|
|
#endif
|
|
|
|
extern bool imported;
|
|
extern int quit, force_root, ignore_bt;
|
|
#ifdef SUBSURFACE_MOBILE_DESKTOP
|
|
extern char *testqml;
|
|
#endif
|
|
|
|
void setup_system_prefs(void);
|
|
void parse_argument(const char *arg);
|
|
void free_prefs(void);
|
|
void print_files(void);
|
|
void print_version(void);
|
|
|
|
extern char *settings_suffix;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // SUBSURFACESTARTUP_H
|