mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
21 lines
520 B
Swift
21 lines
520 B
Swift
//
|
|
// protocol.swift
|
|
// Helper
|
|
//
|
|
// Created by Serhiy Mytrovtsiy on 17/11/2022
|
|
// Using Swift 5.0
|
|
// Running on macOS 13.0
|
|
//
|
|
// Copyright © 2022 Serhiy Mytrovtsiy. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
@objc public protocol HelperProtocol {
|
|
func version(completion: @escaping (String) -> Void)
|
|
func setSMCPath(_ path: String)
|
|
|
|
func setFanMode(id: Int, mode: Int, completion: @escaping (String?) -> Void)
|
|
func setFanSpeed(id: Int, value: Int, completion: @escaping (String?) -> Void)
|
|
}
|