OpenCPN Partial API docs
|
Thin wrapper for wxSingleInstanceChecker implementing InstanceCheck. More...
#include <wx_instance_chk.h>
Public Member Functions | |
bool | IsMainInstance () override |
Return true if this process is the primary opencpn instance. | |
void | CleanUp () override |
Remove all persistent instance state, including possible lock file and defunct opencpn processes. | |
void | OnExit () override |
Do whatever needed before wxWidget's checks triggers. | |
Public Member Functions inherited from InstanceCheck | |
virtual void | WaitUntilValid () |
Wait until this object can be used for example for Dbus connection. | |
Additional Inherited Members | |
Static Public Member Functions inherited from InstanceCheck | |
static InstanceCheck & | GetInstance () |
Thin wrapper for wxSingleInstanceChecker implementing InstanceCheck.
Definition at line 28 of file wx_instance_chk.h.