mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
5da09a21bb
Move the declarations of the "report_error()" and "set_error_cb()" functions and the "verbose" variable to errorhelper.h. Thus, error-reporting translation units don't have to import the big dive.h header file. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
25 lines
416 B
C
25 lines
416 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;
|
|
|
|
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
|