20 #ifndef INSTANCE_CHECK_H__
21 #define INSTANCE_CHECK_H__
Empty place holder, primarely for Android.
virtual bool IsMainInstance()
Return true if this process is the primary opencpn instance.
Common interface for all instance checkers.
static InstanceCheck & GetInstance()
virtual bool IsMainInstance()=0
Return true if this process is the primary opencpn instance.
virtual void CleanUp()
Remove all persistent instance state, including possible lock file and defunct opencpn processes.
virtual void OnExit()
Do whatever needed before wxWidget's checks triggers.
virtual void WaitUntilValid()
Wait until this object can be used for example for Dbus connection.