mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-12 17:36:19 +01:00
4a0bbeacc2
- Hide the "Enable Web Inspector" menu item. - #if-out notifications/defaults/etc. - Make toggleWebInspectorEnabled(_) a no-op.
36 lines
978 B
Swift
36 lines
978 B
Swift
//
|
|
// AppNotifications.swift
|
|
// NetNewsWire
|
|
//
|
|
// Created by Brent Simmons on 8/30/15.
|
|
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import Articles
|
|
|
|
extension Notification.Name {
|
|
static let InspectableObjectsDidChange = Notification.Name("TimelineSelectionDidChangeNotification")
|
|
static let UserDidAddFeed = Notification.Name("UserDidAddFeedNotification")
|
|
static let UserDidRequestSidebarSelection = Notification.Name("UserDidRequestSidebarSelectionNotification")
|
|
|
|
#if !MAC_APP_STORE
|
|
static let WebInspectorEnabledDidChange = Notification.Name("WebInspectorEnabledDidChange")
|
|
#endif
|
|
}
|
|
|
|
typealias UserInfoDictionary = [AnyHashable: Any]
|
|
|
|
struct UserInfoKey {
|
|
|
|
static let view = "view"
|
|
static let article = "article"
|
|
static let articles = "articles"
|
|
static let navigationKeyPressed = "navigationKeyPressed"
|
|
static let objects = "objects"
|
|
static let feed = "feed"
|
|
static let url = "url"
|
|
static let author = "author"
|
|
}
|
|
|