--- nono/wx/wxversion.h 2026/04/29 17:04:56 1.1.1.4 +++ nono/wx/wxversion.h 2026/04/29 17:05:53 1.1.1.10 @@ -4,18 +4,21 @@ // Licensed under nono-license.txt // +// +// バージョンダイアログ +// + #pragma once #include "wxnono.h" -#include "monitor.h" // バージョンダイアログ class WXVersionDlg : public wxDialog { using inherited = wxDialog; public: - WXVersionDlg(wxWindow *parent); - virtual ~WXVersionDlg() override; + explicit WXVersionDlg(wxWindow *parent); + ~WXVersionDlg() override; }; // ホスト情報モニタ @@ -24,18 +27,19 @@ class HostInfoMonitor : public Object using inherited = Object; public: HostInfoMonitor(); - virtual ~HostInfoMonitor() override; - operator bool() const { return aut; } + ~HostInfoMonitor() override; - Monitor monitor { this }; + Monitor *monitor {}; private: DECLARE_MONITOR_CALLBACK(MonitorUpdate); wxString osname {}; wxString machinename {}; + wxString avx2str {}; + wxString neonstr {}; wxString wxname {}; - uint32 aut; + const char *slirpver {}; }; -extern std::unique_ptr gHostInfo; +extern HostInfoMonitor *gHostInfo;