Macos: add the support of file association

Change-Id: Iacd3b35423dac6f63416628d28b0502ba175f7b4
This commit is contained in:
lane.wei 2022-08-02 12:12:45 +08:00 committed by Lane.Wei
parent 55d59c7248
commit b1e8fadb09
5 changed files with 159 additions and 34 deletions

View file

@ -194,7 +194,7 @@ public:
class GUI_App : public wxApp
{
public:
//BBS: remove GCodeViewer as seperate APP logic
enum class EAppMode : unsigned char
{
@ -204,6 +204,7 @@ public:
private:
bool m_initialized { false };
bool m_post_initialized { false };
bool m_app_conf_exists{ false };
EAppMode m_app_mode{ EAppMode::Editor };
bool m_is_recreating_gui{ false };