OpenCPN Partial API docs
Loading...
Searching...
No Matches
safe_mode.h
Go to the documentation of this file.
1/***************************************************************************
2 * Copyright (C) 2022 Alec Leamas *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, see <https://www.gnu.org/licenses/>. *
16 **************************************************************************/
17
27#include <wx/window.h>
28
29#include "ocpn_utils.h"
30
31namespace safe_mode {
32
33extern bool safe_mode;
34
35std::string check_file_path();
36
37bool get_mode();
38
39void set_mode(bool mode);
40
42void clear_check();
43
44} // namespace safe_mode
Safe mode GUI handling.
Definition safe_mode.cpp:37
void clear_check()
Mark last run as successful.
Definition safe_mode.cpp:62
Miscellaneous utilities, many of which string related.