mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-11 01:04:05 +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
|
import Articles
|
||||||
|
|
||||||
protocol AppDelegateAppleEvents {
|
protocol AppDelegateAppleEvents {
|
||||||
func installAppleEventHandlers()
|
|
||||||
func getURL(_ event: NSAppleEventDescriptor, _ withReplyEvent: NSAppleEventDescriptor)
|
@MainActor func installAppleEventHandlers()
|
||||||
|
@MainActor func getURL(_ event: NSAppleEventDescriptor, _ withReplyEvent: NSAppleEventDescriptor)
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol ScriptingAppDelegate {
|
protocol ScriptingAppDelegate {
|
||||||
var scriptingCurrentArticle: Article? {get}
|
|
||||||
var scriptingSelectedArticles: [Article] {get}
|
@MainActor var scriptingCurrentArticle: Article? {get}
|
||||||
var scriptingMainWindowController:ScriptingMainWindowController? {get}
|
@MainActor var scriptingSelectedArticles: [Article] {get}
|
||||||
|
@MainActor var scriptingMainWindowController:ScriptingMainWindowController? {get}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension AppDelegate : AppDelegateAppleEvents {
|
extension AppDelegate : AppDelegateAppleEvents {
|
||||||
|
Loading…
Reference in New Issue
Block a user