10 lines
465 B
Swift
10 lines
465 B
Swift
import Foundation
|
|
|
|
/// Fixed read-only operation: no caller-supplied paths or commands.
|
|
@objc protocol SMARTServiceProtocol {
|
|
nonisolated func readProcessEnergy(_ request: Data, withReply reply: @escaping (Data?) -> Void)
|
|
nonisolated func readSensors(cpu: Bool, gpu: Bool, fans: Bool,
|
|
withReply reply: @escaping (NSNumber?, NSNumber?, [NSNumber]?) -> Void)
|
|
nonisolated func readSMART(withReply reply: @escaping (NSNumber?, NSNumber?) -> Void)
|
|
}
|