Ilya Moiseenko | 1dc76da | 2013-09-30 11:53:36 -0700 | [diff] [blame] | 1 | /* -*- 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; |
Ilya Moiseenko | 6819250 | 2013-09-30 14:27:48 -0700 | [diff] [blame] | 17 | |
| 18 | IBOutlet NSPanel *prefixRegistrationSheet; |
| 19 | IBOutlet NSComboBox *tunnelCombobox; |
| 20 | IBOutlet NSTextField *namePrefixText; |
| 21 | IBOutlet NSTextField *endpointText; |
Ilya Moiseenko | 1dc76da | 2013-09-30 11:53:36 -0700 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | @property BOOL allowSoftwareUpdates; |
| 25 | @property BOOL enableHubDiscovery; |
| 26 | |
| 27 | -(IBAction)showPreferencesPanel:(id)sender; |
| 28 | -(IBAction)openGeneralSettings:(id)sender; |
| 29 | -(IBAction)openForwardingSettings:(id)sender; |
| 30 | -(IBAction)openSecuritySettings:(id)sender; |
| 31 | |
| 32 | -(IBAction)switchSoftwareUpdates:(id)sender; |
| 33 | -(IBAction)switchHubDiscovery:(id)sender; |
Ilya Moiseenko | 6819250 | 2013-09-30 14:27:48 -0700 | [diff] [blame] | 34 | |
| 35 | -(IBAction)addFibEntry:(id)sender; |
| 36 | -(IBAction)removeFibEntry:(id)sender; |
| 37 | -(IBAction) showFibEntrySheet:(id)sender; |
| 38 | -(IBAction)hideFibEntrySheet:(id)sender; |
Ilya Moiseenko | 1dc76da | 2013-09-30 11:53:36 -0700 | [diff] [blame] | 39 | @end |