|
OpenCPN Partial API docs
|
Safe mode GUI handling. More...
Functions | |
| std::string | check_file_path () |
| void | set_mode (bool mode) |
| bool | get_mode () |
| void | clear_check () |
| Mark last run as successful. | |
| void | check_last_start () |
| Check if the last start failed, possibly invoke user dialog and set safe mode state. | |
Variables | |
| bool | safe_mode = false |
Safe mode GUI handling.
Administrate the safe mode state which is true if openpcn should run in safe mode without OpenGL, plugins, etc.
Copyright (c) 2023 Alec Leamas License: GPL version 2 or later.
| std::string safe_mode::check_file_path | ( | ) |
Definition at line 47 of file safe_mode.cpp.
| void safe_mode::check_last_start | ( | ) |
Check if the last start failed, possibly invoke user dialog and set safe mode state.
Definition at line 53 of file safe_mode_gui.cpp.
| void safe_mode::clear_check | ( | ) |
Mark last run as successful.
Definition at line 62 of file safe_mode.cpp.
| bool safe_mode::get_mode | ( | ) |
Definition at line 59 of file safe_mode.cpp.
| void safe_mode::set_mode | ( | bool | mode | ) |
Definition at line 54 of file safe_mode.cpp.
| bool safe_mode::safe_mode = false |
Definition at line 45 of file safe_mode.cpp.