19#ifndef _STD_INSTANCE_CHECK_H__
20#define _STD_INSTANCE_CHECK_H__
22#include <wx/snglinst.h>
24#include "model/instance_check.h"
39 bool m_is_main_instance;
Common interface for all instance checkers.
InstanceCheck implementation based on <unistd.h> i.
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.