mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Replace webFeed with Feed in a few more places (which also fixes the add-feed sheet).
This commit is contained in:
25
Mac/MainWindow/AddFeed/AddFeedWindowControllerDelegate.swift
Normal file
25
Mac/MainWindow/AddFeed/AddFeedWindowControllerDelegate.swift
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// AddFeedWindowControllerDelegate.swift
|
||||
// NetNewsWire
|
||||
//
|
||||
// Created by Maurice Parker on 4/21/20.
|
||||
// Copyright © 2020 Ranchero Software. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import Account
|
||||
|
||||
@MainActor protocol AddFeedWindowControllerDelegate: AnyObject {
|
||||
|
||||
// userEnteredURL will have already been validated and normalized.
|
||||
func addFeedWindowController(_: AddFeedWindowController, userEnteredURL: URL, userEnteredTitle: String?, container: Container)
|
||||
func addFeedWindowControllerUserDidCancel(_: AddFeedWindowController)
|
||||
|
||||
}
|
||||
|
||||
@MainActor protocol AddFeedWindowControllerProtocol {
|
||||
|
||||
var window: NSWindow? { get }
|
||||
func runSheetOnWindow(_ hostWindow: NSWindow)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user