blob: c5efb6041cbd95aeb60dfc40f754708219111edf [file] [log] [blame]
Ilya Moiseenko1dc76da2013-09-30 11:53:36 -07001/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
2/*
3 * @copyright See LICENCE for copyright and license information.
4 *
5 * @author Alexander Afanasyev <alexander.afanasyev@ucla.edu>
6 * @author Ilya Moiseenko <iliamo@ucla.edu>
7 */
8
9#import <Cocoa/Cocoa.h>
10
11@interface PreferenceDelegate : NSObject
12{
13 IBOutlet NSWindow *preferencesPanel;
14 IBOutlet NSView *generalSettingsView;
15 IBOutlet NSView *forwardingSettingsView;
16 IBOutlet NSView *securitySettingsView;
17}
18
19@property BOOL allowSoftwareUpdates;
20@property BOOL enableHubDiscovery;
21
22-(IBAction)showPreferencesPanel:(id)sender;
23-(IBAction)openGeneralSettings:(id)sender;
24-(IBAction)openForwardingSettings:(id)sender;
25-(IBAction)openSecuritySettings:(id)sender;
26
27-(IBAction)switchSoftwareUpdates:(id)sender;
28-(IBAction)switchHubDiscovery:(id)sender;
29@end