20 #ifndef _WX_INST_CHECK__
21 #define _WX_INST_CHECK__
23 #include <wx/snglinst.h>
25 #include "model/instance_check.h"
44 wxSingleInstanceChecker* m_checker;
Common interface for all instance checkers.
Thin wrapper for wxSingleInstanceChecker implementing InstanceCheck.
void OnExit() override
Do whatever needed before wxWidget's checks triggers.
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.