2019-11-15 13:19:14 +01:00
|
|
|
//
|
|
|
|
// Feed.swift
|
|
|
|
// Account
|
|
|
|
//
|
|
|
|
// Created by Maurice Parker on 11/15/19.
|
|
|
|
// Copyright © 2019 Ranchero Software, LLC. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import RSCore
|
|
|
|
|
2019-11-22 01:22:43 +01:00
|
|
|
public enum ReadFilter {
|
|
|
|
case read
|
|
|
|
case none
|
2019-11-22 02:54:35 +01:00
|
|
|
case unavailable
|
2019-11-22 01:22:43 +01:00
|
|
|
}
|
|
|
|
|
2019-11-15 13:19:14 +01:00
|
|
|
public protocol Feed: FeedIdentifiable, ArticleFetcher, DisplayNameProvider, UnreadCountProvider {
|
|
|
|
|
2019-11-22 01:22:43 +01:00
|
|
|
var defaultReadFilter: ReadFilter { get }
|
|
|
|
|
2019-11-15 13:19:14 +01:00
|
|
|
}
|