2017-11-19 22:57:42 +01:00
|
|
|
//
|
|
|
|
// PseudoFeed.swift
|
|
|
|
// Evergreen
|
|
|
|
//
|
|
|
|
// Created by Brent Simmons on 11/19/17.
|
|
|
|
// Copyright © 2017 Ranchero Software. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import Data
|
|
|
|
import RSCore
|
|
|
|
|
2018-02-12 07:10:28 +01:00
|
|
|
protocol PseudoFeed: class, DisplayNameProvider, UnreadCountProvider, SmallIconProvider, PasteboardWriterOwner {
|
2017-11-19 22:57:42 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2017-12-17 19:51:05 +01:00
|
|
|
private var smartFeedIcon: NSImage = {
|
2017-11-19 22:57:42 +01:00
|
|
|
|
2017-12-17 19:51:05 +01:00
|
|
|
return NSImage(named: NSImage.Name.smartBadgeTemplate)!
|
|
|
|
}()
|
2017-11-19 22:57:42 +01:00
|
|
|
|
2017-12-17 19:51:05 +01:00
|
|
|
extension PseudoFeed {
|
|
|
|
|
|
|
|
var smallIcon: NSImage? {
|
2018-02-14 22:14:25 +01:00
|
|
|
return smartFeedIcon
|
2017-12-17 19:51:05 +01:00
|
|
|
}
|
|
|
|
}
|