From 3b7521a47ae731f0bf0a922822e4417493489539 Mon Sep 17 00:00:00 2001
From: Runt <qingingrunt2010@qq.com>
Date: Wed, 09 Jul 2025 10:42:02 +0000
Subject: [PATCH] 小窗布局,小窗移动

---
 LiveProject/data/DeviceInfo.swift |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/LiveProject/data/DeviceInfo.swift b/LiveProject/data/DeviceInfo.swift
index e69de29..ff6bf3f 100644
--- a/LiveProject/data/DeviceInfo.swift
+++ b/LiveProject/data/DeviceInfo.swift
@@ -0,0 +1,22 @@
+//
+//  DeviceInfo.swift
+//  LiveProject
+//
+//  Created by 倪路朋 on 6/26/25.
+//
+import SwiftUI
+
+struct DeviceInfo : Hashable {
+    let name:String
+    let type:StreamType
+    let deviceId:String;
+    var icon : IconInfo? = nil;
+    
+    func hash(into hasher: inout Hasher){
+        hasher.combine(deviceId)
+    }
+    
+    static func == (lhs: DeviceInfo, rhs: DeviceInfo) -> Bool {
+        lhs.deviceId == rhs.deviceId
+    }
+}

--
Gitblit v1.9.1