Files
wireguard-apple/Sources/WireGuardIntentsExtension/IntentHandler.swift
T
2022-02-01 20:11:33 +01:00

16 lines
434 B
Swift

// SPDX-License-Identifier: MIT
// Copyright © 2018-2021 WireGuard LLC. All Rights Reserved.
import Intents
class IntentHandler: INExtension {
override func handler(for intent: INIntent) -> Any {
// This is the default implementation. If you want different objects to handle different intents,
// you can override this and return the handler you want for that particular intent.
return self
}
}