mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Add basic ExtensionPoint support.
This commit is contained in:
20
Shared/ExtensionPoints/ExtensionPoint.swift
Normal file
20
Shared/ExtensionPoints/ExtensionPoint.swift
Normal file
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// ExtensionPoint.swift
|
||||
// NetNewsWire
|
||||
//
|
||||
// Created by Maurice Parker on 4/7/20.
|
||||
// Copyright © 2020 Ranchero Software. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import RSCore
|
||||
|
||||
protocol ExtensionPoint {
|
||||
|
||||
/// The title of the command.
|
||||
var title: String { get }
|
||||
|
||||
/// The template image for the command.
|
||||
var templateImage: RSImage { get }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user