Delegate for Preferences Panel is added

Change-Id: I1c2d1821626d9344e116d57b4867fe5166bb0d70
diff --git a/osx/preference-delegate.h b/osx/preference-delegate.h
new file mode 100644
index 0000000..c5efb60
--- /dev/null
+++ b/osx/preference-delegate.h
@@ -0,0 +1,29 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
+/*
+ * @copyright See LICENCE for copyright and license information.
+ *
+ * @author Alexander Afanasyev <alexander.afanasyev@ucla.edu>
+ * @author Ilya Moiseenko <iliamo@ucla.edu>
+ */
+
+#import <Cocoa/Cocoa.h>
+
+@interface PreferenceDelegate : NSObject
+{
+  IBOutlet NSWindow *preferencesPanel;
+  IBOutlet NSView *generalSettingsView;
+  IBOutlet NSView *forwardingSettingsView;
+  IBOutlet NSView *securitySettingsView;
+}
+
+@property BOOL allowSoftwareUpdates;
+@property BOOL enableHubDiscovery;
+
+-(IBAction)showPreferencesPanel:(id)sender;
+-(IBAction)openGeneralSettings:(id)sender;
+-(IBAction)openForwardingSettings:(id)sender;
+-(IBAction)openSecuritySettings:(id)sender;
+
+-(IBAction)switchSoftwareUpdates:(id)sender;
+-(IBAction)switchHubDiscovery:(id)sender;
+@end