feat: small codebase refactoring (mostly removed unused code and changes in access control)

This commit is contained in:
Serhiy Mytrovtsiy
2024-05-08 17:21:58 +02:00
parent e925e6d131
commit eb882774bb
37 changed files with 160 additions and 583 deletions

View File

@@ -9,7 +9,7 @@
import Cocoa
import Kit
public struct CPU_Load: value_t, Codable {
public struct CPU_Load: Codable {
var totalUsage: Double = 0
var usagePerCore: [Double] = []
var usageECores: Double? = nil
@@ -18,12 +18,6 @@ public struct CPU_Load: value_t, Codable {
var systemLoad: Double = 0
var userLoad: Double = 0
var idleLoad: Double = 0
public var widgetValue: Double {
get {
return self.totalUsage
}
}
}
public struct CPU_Limit: Codable {