OpenCPN Partial API docs
safe_mode Namespace Reference

Safe mode 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
 

Detailed Description

Safe mode handling.

Safe mode GUI handling.

Administrate the safe mode state which is true if openpcn should run in safe mode without OpenGL, plugins, etc.