FIX: update HMS to support multi-type machines

jira: [STUDIO-9582]
Change-Id: I5ad4083d666db4237d355ac8bd8160afb8e8a35f
(cherry picked from commit 954a27016953bcf4f07b2a3e14ac1f5faf68c644)
This commit is contained in:
xin.zhang
2025-01-08 11:06:37 +08:00
committed by Noisyfox
parent e785282ecf
commit 2cbf14fdfd
8 changed files with 186 additions and 122 deletions

View File

@@ -16,6 +16,7 @@ class HMSNotifyItem : public wxPanel
{
HMSItem & m_hms_item;
std::string m_url;
std::string dev_id;
std::string long_error_code;
wxPanel * m_panel_hms;
@@ -34,7 +35,7 @@ class HMSNotifyItem : public wxPanel
wxBitmap & get_notify_bitmap();
public:
HMSNotifyItem(wxWindow *parent, HMSItem& item);
HMSNotifyItem(const std::string& dev_id, wxWindow *parent, HMSItem& item);
~HMSNotifyItem();
void msw_rescale() {}
@@ -49,7 +50,7 @@ protected:
HMSNotifyItem * m_notify_item;
int last_status;
void append_hms_panel(HMSItem &item);
void append_hms_panel(const std::string& dev_id, HMSItem &item);
void delete_hms_panels();