Files
wireguard-apple/Sources/WireGuardIntentsExtension/IntentHandler.swift
T
2023-04-12 00:09:21 +02:00

18 lines
412 B
Swift

// SPDX-License-Identifier: MIT
// Copyright © 2018-2021 WireGuard LLC. All Rights Reserved.
import Intents
class IntentHandler: INExtension {
override init() {
super.init()
Logger.configureGlobal(tagged: "INTENTS", withFilePath: FileManager.logFileURL?.path)
}
override func handler(for intent: INIntent) -> Any {
fatalError("Unhandled intent type: \(intent)")
}
}