blob: d77c2e5c8ac1015772862cde36cf72040d9f7d83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//
// DeviceStateAccessorProtocol.swift
// PacketTunnel
//
// Created by pronebird on 07/06/2023.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//
import Foundation
import MullvadSettings
/// A protocol that formalizes device state accessor dependency used by `DeviceCheckOperation`.
protocol DeviceStateAccessorProtocol {
func read() throws -> DeviceState
func write(_ deviceState: DeviceState) throws
}
|