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