ENH: add text to specify active tunnel

JIRA: [STUDIO-13803]
Change-Id: Ia6af5ba881c93a1d284295b244d19b39aee2ae91
(cherry picked from commit cb6c6afeee3e519aca87ac82eacc4b85fda63f65)
This commit is contained in:
haolin.tian
2025-08-04 17:57:29 +08:00
committed by Noisyfox
parent c94c453936
commit 6121a420f1
4 changed files with 37 additions and 3 deletions

View File

@@ -171,6 +171,12 @@ public:
bool is_lan_mode_printer() const { return dev_connection_type == "lan"; }
bool is_cloud_mode_printer() const { return dev_connection_type == "cloud"; }
std::chrono::system_clock::time_point last_cloud_msg_time_;
std::chrono::system_clock::time_point last_lan_msg_time_;
bool HasRecentCloudMessage();
bool HasRecentLanMessage();
std::string dev_connection_name; /* lan | eth */
/*access code*/