|
|
1.1 root 1: //
2: // nono
3: // Copyright (C) 2020 nono project
4: // Licensed under nono-license.txt
5: //
6:
1.1.1.5 root 7: //
8: // バージョンダイアログ
9: //
10:
1.1 root 11: #pragma once
12:
1.1.1.4 root 13: #include "wxnono.h"
14: #include "monitor.h"
1.1 root 15:
1.1.1.2 root 16: // バージョンダイアログ
1.1 root 17: class WXVersionDlg : public wxDialog
18: {
19: using inherited = wxDialog;
20: public:
21: WXVersionDlg(wxWindow *parent);
1.1.1.3 root 22: virtual ~WXVersionDlg() override;
1.1 root 23: };
1.1.1.2 root 24:
25: // ホスト情報モニタ
1.1.1.4 root 26: class HostInfoMonitor : public Object
1.1.1.2 root 27: {
1.1.1.4 root 28: using inherited = Object;
1.1.1.2 root 29: public:
30: HostInfoMonitor();
1.1.1.6 ! root 31: ~HostInfoMonitor() override;
1.1.1.2 root 32:
1.1.1.4 root 33: Monitor monitor { this };
1.1.1.2 root 34:
35: private:
1.1.1.4 root 36: DECLARE_MONITOR_CALLBACK(MonitorUpdate);
37:
1.1.1.2 root 38: wxString osname {};
39: wxString machinename {};
1.1.1.6 ! root 40: wxString avx2str {};
1.1.1.2 root 41: wxString wxname {};
42: };
43:
1.1.1.5 root 44: extern HostInfoMonitor *gHostInfo;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.