From da489b8271f8d35bbbb824d3bfd15bacaa8a22de Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 17 Dec 2017 10:48:55 -0800 Subject: [PATCH] Add SmallIconProvider protocol. Objects that want an icon in the sidebar (and perhaps other places) can conform to this. --- Evergreen/Data/SmallIconProvider.swift | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Evergreen/Data/SmallIconProvider.swift diff --git a/Evergreen/Data/SmallIconProvider.swift b/Evergreen/Data/SmallIconProvider.swift new file mode 100644 index 000000000..bdd3c4659 --- /dev/null +++ b/Evergreen/Data/SmallIconProvider.swift @@ -0,0 +1,14 @@ +// +// SmallIconProvider.swift +// Evergreen +// +// Created by Brent Simmons on 12/16/17. +// Copyright © 2017 Ranchero Software. All rights reserved. +// + +import Cocoa + +protocol SmallIconProvider { + + var smallIcon: NSImage? { get } +}