NetNewsWire/Evergreen/SmartFeeds/PseudoFeed.swift

30 lines
482 B
Swift

//
// PseudoFeed.swift
// Evergreen
//
// Created by Brent Simmons on 11/19/17.
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Foundation
import Data
import RSCore
protocol PseudoFeed: class, DisplayNameProvider, UnreadCountProvider, SmallIconProvider {
}
private var smartFeedIcon: NSImage = {
return NSImage(named: NSImage.Name.smartBadgeTemplate)!
}()
extension PseudoFeed {
var smallIcon: NSImage? {
get {
return smartFeedIcon
}
}
}