NetNewsWire/Mac/Scriptability/ScriptingObject.swift

23 lines
482 B
Swift
Raw Normal View History

//
// ScriptingObject.swift
2018-08-29 07:18:24 +02:00
// NetNewsWire
//
// Created by Olof Hellman on 1/10/18.
// Copyright © 2018 Olof Hellman. All rights reserved.
//
import Foundation
protocol ScriptingObject {
var objectSpecifier: NSScriptObjectSpecifier? { get }
@MainActor var scriptingKey: String { get }
}
protocol NamedScriptingObject: ScriptingObject {
var name:String { get }
}
2024-04-17 04:37:53 +02:00
protocol UniqueIDScriptingObject: ScriptingObject {
@MainActor var scriptingUniqueID:Any { get }
}