Archive Project
This commit is contained in:
32
Notifications for YouTube/NYTRulesWindowController.h
Executable file
32
Notifications for YouTube/NYTRulesWindowController.h
Executable 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
|
||||
Reference in New Issue
Block a user