blob: a7521e6f5670276b40932b4db63e2717a485e67f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//
// RecentConnectionsRepositoryProtocol.swift
// MullvadVPN
//
// Created by Mojgan on 2025-10-15.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//
import MullvadTypes
public enum RecentLocationType: CaseIterable {
case entry, exit
}
public protocol RecentConnectionsRepositoryProtocol {
func setRecentsEnabled(_ isEnabled: Bool) throws
func add(_ location: UserSelectedRelays, as: RecentLocationType) throws
func all() throws -> RecentConnections
}
|