mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-15 10:49:14 +01:00
23 lines
466 B
Swift
23 lines
466 B
Swift
//
|
|
// ScriptingObject.swift
|
|
// NetNewsWire
|
|
//
|
|
// Created by Olof Hellman on 1/10/18.
|
|
// Copyright © 2018 Olof Hellman. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
protocol ScriptingObject {
|
|
var objectSpecifier: NSScriptObjectSpecifier? { get }
|
|
var scriptingKey: String { get }
|
|
}
|
|
|
|
protocol NamedScriptingObject: ScriptingObject {
|
|
var name:String { get }
|
|
}
|
|
|
|
protocol UniqueIdScriptingObject: ScriptingObject {
|
|
var scriptingUniqueId:Any { get }
|
|
}
|