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