blob: 77e47d2fd93ed50c48567742484ba34bbc9e5d4f (
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 © 2023 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
}
|