|
OpenCPN Partial API docs
|
Safe mode GUI handling. More...
Functions | |
| std::string | CheckFilePath () |
| Return path to file created when start is commenced and removed when completed. | |
| void | SetMode (bool mode) |
| bool | GetMode () |
| Return true if we are running in safe mode. | |
| void | MarkStartAsOk () |
| Mark last run as successful. | |
| void | CheckLastStart () |
| 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::CheckFilePath | ( | ) |
Return path to file created when start is commenced and removed when completed.
Definition at line 47 of file safe_mode.cpp.
| bool safe_mode::GetMode | ( | ) |
Return true if we are running in safe mode.
Definition at line 59 of file safe_mode.cpp.
| void safe_mode::MarkStartAsOk | ( | ) |
Mark last run as successful.
Definition at line 62 of file safe_mode.cpp.
| void safe_mode::SetMode | ( | 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.