|
|
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();
31: virtual ~HostInfoMonitor() override;
1.1.1.4 root 32: operator bool() const { return aut; }
1.1.1.2 root 33:
1.1.1.4 root 34: Monitor monitor { this };
1.1.1.2 root 35:
36: private:
1.1.1.4 root 37: DECLARE_MONITOR_CALLBACK(MonitorUpdate);
38:
1.1.1.2 root 39: wxString osname {};
40: wxString machinename {};
41: wxString wxname {};
1.1.1.4 root 42: uint32 aut;
1.1.1.2 root 43: };
44:
1.1.1.5 ! root 45: extern HostInfoMonitor *gHostInfo;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.