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