2017-05-26 22:10:30 +02:00
|
|
|
//
|
2017-09-23 21:00:07 +02:00
|
|
|
// AppNotifications.swift
|
2017-05-26 22:22:31 +02:00
|
|
|
// Evergreen
|
2017-05-26 22:10:30 +02:00
|
|
|
//
|
|
|
|
// Created by Brent Simmons on 8/30/15.
|
|
|
|
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2018-02-03 07:51:32 +01:00
|
|
|
import AppKit
|
2018-07-24 03:29:08 +02:00
|
|
|
import Articles
|
2017-05-26 22:10:30 +02:00
|
|
|
|
|
|
|
extension Notification.Name {
|
|
|
|
|
|
|
|
static let SidebarSelectionDidChange = Notification.Name("SidebarSelectionDidChangeNotification")
|
|
|
|
static let TimelineSelectionDidChange = Notification.Name("TimelineSelectionDidChangeNotification")
|
|
|
|
|
2017-10-22 00:56:01 +02:00
|
|
|
static let UserDidAddFeed = Notification.Name("UserDidAddFeedNotification")
|
2017-11-06 05:31:50 +01:00
|
|
|
|
|
|
|
// Sent by DetailViewController when mouse hovers over link in web view.
|
|
|
|
static let MouseDidEnterLink = Notification.Name("MouseDidEnterLinkNotification")
|
|
|
|
static let MouseDidExitLink = Notification.Name("MouseDidExitLinkNotification")
|
2017-05-26 22:10:30 +02:00
|
|
|
}
|
|
|
|
|
2017-09-24 21:24:44 +02:00
|
|
|
typealias UserInfoDictionary = [AnyHashable: Any]
|
|
|
|
|
2017-12-18 21:34:07 +01:00
|
|
|
struct UserInfoKey {
|
2017-09-24 21:24:44 +02:00
|
|
|
|
2017-12-18 21:34:07 +01:00
|
|
|
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"
|
2018-01-05 06:20:09 +01:00
|
|
|
static let author = "author"
|
2017-09-24 21:24:44 +02:00
|
|
|
}
|
2017-05-26 22:10:30 +02:00
|
|
|
|