Files
baRSS/baRSS/Notifications/NotifyEndpoint.h

19 lines
412 B
Objective-C

@import Cocoa;
@import UserNotifications;
@class Feed, FeedArticle;
NS_ASSUME_NONNULL_BEGIN
@interface NotifyEndpoint : NSObject <UNUserNotificationCenterDelegate>
+ (void)activate;
+ (void)setGlobalCount:(NSInteger)count previousCount:(NSInteger)count;
+ (void)postFeed:(Feed*)feed;
+ (void)postArticle:(FeedArticle*)article;
+ (void)dismiss:(nullable NSArray<NSString*>*)list;
@end
NS_ASSUME_NONNULL_END