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