OpenCPN Partial API docs
Loading...
Searching...
No Matches
safe_mode Namespace Reference

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...
 

Detailed Description

Safe mode handling.

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

Function Documentation

◆ check_last_start()

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.

◆ clear_check()

void safe_mode::clear_check ( )

Mark last run as successful.

Definition at line 71 of file safe_mode.cpp.

◆ get_mode()

bool safe_mode::get_mode ( )

Definition at line 178 of file console.cpp.

◆ set_mode()

void safe_mode::set_mode ( bool  mode)

Definition at line 42 of file safe_mode.cpp.