mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 08:09:41 +01:00
Fix remaining concurrency warnings in AppDelegate (Mac).
This commit is contained in:
parent
b94935998b
commit
0f639085d6
@ -20,14 +20,16 @@ import Foundation
|
||||
import Articles
|
||||
|
||||
protocol AppDelegateAppleEvents {
|
||||
func installAppleEventHandlers()
|
||||
func getURL(_ event: NSAppleEventDescriptor, _ withReplyEvent: NSAppleEventDescriptor)
|
||||
|
||||
@MainActor func installAppleEventHandlers()
|
||||
@MainActor func getURL(_ event: NSAppleEventDescriptor, _ withReplyEvent: NSAppleEventDescriptor)
|
||||
}
|
||||
|
||||
protocol ScriptingAppDelegate {
|
||||
var scriptingCurrentArticle: Article? {get}
|
||||
var scriptingSelectedArticles: [Article] {get}
|
||||
var scriptingMainWindowController:ScriptingMainWindowController? {get}
|
||||
|
||||
@MainActor var scriptingCurrentArticle: Article? {get}
|
||||
@MainActor var scriptingSelectedArticles: [Article] {get}
|
||||
@MainActor var scriptingMainWindowController:ScriptingMainWindowController? {get}
|
||||
}
|
||||
|
||||
extension AppDelegate : AppDelegateAppleEvents {
|
||||
|
Loading…
Reference in New Issue
Block a user