mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Merge branch 'mac-candidate'
This commit is contained in:
@@ -85,7 +85,10 @@
|
||||
<property name="type" code="ATyp" type="account type" access="r" description="The type of the account">
|
||||
<cocoa key="accountType"/>
|
||||
</property>
|
||||
<property name="contents" code="Cnts" access="r" description="The type of the account">
|
||||
<property name="active" code="Actv" type="boolean" access="rw" description="Whether or not the account is active">
|
||||
<cocoa key="scriptingIsActive"/>
|
||||
</property>
|
||||
<property name="contents" code="Cnts" access="r" description="The type of the account">
|
||||
<cocoa key="contents"/>
|
||||
<type type="account item" list="yes"/>
|
||||
</property>
|
||||
|
||||
@@ -25,7 +25,17 @@ class ScriptableAccount: NSObject, UniqueIdScriptingObject, ScriptingObjectConta
|
||||
let scriptObjectSpecifier = myContainer.makeFormUniqueIDScriptObjectSpecifier(forObject:self)
|
||||
return (scriptObjectSpecifier)
|
||||
}
|
||||
|
||||
|
||||
@objc(scriptingIsActive)
|
||||
var scriptingIsActive: Bool {
|
||||
get {
|
||||
return account.isActive
|
||||
}
|
||||
set {
|
||||
account.isActive = newValue
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: --- ScriptingObject protocol ---
|
||||
|
||||
var scriptingKey: String {
|
||||
|
||||
Reference in New Issue
Block a user