1// 2// Copyright (c) 2012 Apple. All rights reserved. 3// 4 5#import <Cocoa/Cocoa.h> 6#import "AuthorityTableView.h" 7 8@interface GKAppDelegate : NSObject <NSApplicationDelegate, AuthorityTableDelegate, NSTableViewDataSource> 9 10@property (assign) IBOutlet NSWindow *window; 11@property (retain) NSMutableArray *authority; 12@property (assign) IBOutlet NSTableView *tableView; 13@property (assign) IBOutlet NSArrayController *arrayController; 14@property (assign) AuthorizationRef authRef; 15@property (retain) NSData *authData; 16@property (retain) NSArray *sortDescriptors; 17 18- (BOOL)doTargetQuery:(CFTypeRef)target withAttributes:(NSDictionary *)attributes; 19- (IBAction)addApplication:(NSButtonCell *)sender; 20 21@end 22