2017-09-17 00:30:26 +02:00
|
|
|
//
|
|
|
|
// AccountDelegate.swift
|
|
|
|
// Account
|
|
|
|
//
|
|
|
|
// Created by Brent Simmons on 9/16/17.
|
|
|
|
// Copyright © 2017 Ranchero Software, LLC. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
2017-10-08 02:20:19 +02:00
|
|
|
import RSWeb
|
2017-09-17 00:30:26 +02:00
|
|
|
|
|
|
|
public protocol AccountDelegate {
|
|
|
|
|
2017-09-28 22:16:47 +02:00
|
|
|
// Local account does not; some synced accounts might.
|
|
|
|
var supportsSubFolders: Bool { get }
|
2017-10-08 02:20:19 +02:00
|
|
|
var refreshProgress: DownloadProgress { get }
|
2017-09-28 22:16:47 +02:00
|
|
|
|
2017-10-07 23:40:14 +02:00
|
|
|
init(account: Account)
|
|
|
|
|
|
|
|
func refreshAll()
|
2017-09-17 00:30:26 +02:00
|
|
|
|
|
|
|
}
|