1

Archive Project

This commit is contained in:
Kim Wittenburg
2017-07-25 17:21:13 +02:00
parent 7d4f001502
commit 15062dfb27
66 changed files with 14172 additions and 4692 deletions

View File

@@ -0,0 +1,32 @@
//
// NYTRulesWindowController.h
// Notifications for YouTube
//
// Created by Kim Wittenburg on 21.07.13.
// Copyright (c) 2013 Kim Wittenburg. All rights reserved.
//
/* The rules window controller manages a window that lets the user change rules for notifications.
*/
@interface NYTRulesWindowController : NSWindowController
/* This property is YES as long as this controller loads the user's subscriptions. The loading process starts immediately after the window has been loaded.
*/
@property (readonly) BOOL loading;
/* Contains the user's subscriptions (after they have been loaded, before that this property is nil). An entry in this array is an instance of NYTChannelRestriction.
Both of these arrays are fully KVO and KVC compilant.
*/
@property (readonly) NSArray *subscriptions;
/* Convenience actions for the user triggered from the interface: Enable/Disable all and search.
*/
- (IBAction)enableAllNotifications:(id)sender;
- (IBAction)disableAllNotifications:(id)sender;
/* Finish the editing of rules in either way.
*/
- (IBAction)save:(id)sender;
- (IBAction)cancel:(id)sender;
@end