OpenCPN Partial API docs
|
Safe mode handling. More...
Functions | |
bool | get_mode () |
void | set_mode (bool mode) |
void | check_last_start () |
Check if the last start failed, possibly invoke user dialog and set safe mode state. More... | |
void | clear_check () |
Mark last run as successful. More... | |
Safe mode handling.
Administrate the safe mode state which is true if openpcn should run in safe mode without OpenGL, plugins, etc.
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.cpp.
void safe_mode::clear_check | ( | ) |
Mark last run as successful.
Definition at line 71 of file safe_mode.cpp.
bool safe_mode::get_mode | ( | ) |
Definition at line 178 of file console.cpp.
void safe_mode::set_mode | ( | bool | mode | ) |
Definition at line 42 of file safe_mode.cpp.