NetNewsWire/Shared/SmartFeeds/PseudoFeed.swift

29 lines
512 B
Swift
Raw Normal View History

2017-11-19 22:57:42 +01:00
//
// PseudoFeed.swift
2018-08-29 07:18:24 +02:00
// NetNewsWire
2017-11-19 22:57:42 +01:00
//
// Created by Brent Simmons on 11/19/17.
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Foundation
import Articles
import Account
2017-11-19 22:57:42 +01:00
import RSCore
protocol PseudoFeed: class, DisplayNameProvider, UnreadCountProvider, SmallIconProvider, PasteboardWriterOwner {
2017-11-19 22:57:42 +01:00
}
private var smartFeedIcon: NSImage = {
2017-11-19 22:57:42 +01:00
2018-12-09 21:32:33 +01:00
return NSImage(named: NSImage.smartBadgeTemplateName)!
}()
2017-11-19 22:57:42 +01:00
extension PseudoFeed {
var smallIcon: NSImage? {
return smartFeedIcon
}
}