diff options
| author | Luke <luke.pulverenti@gmail.com> | 2014-11-21 12:08:50 -0500 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2014-11-21 12:08:50 -0500 |
| commit | 4ef10753df86307ce01c40703c36e56585e1249c (patch) | |
| tree | db0d7aa7719f70a08c853e871e45ae925f14a46a /MediaBrowser.Server.Mac/AppDelegate.cs | |
| parent | 27088b7bacccf9a259459e871320dc5de4d39ac2 (diff) | |
add server.mac project
Diffstat (limited to 'MediaBrowser.Server.Mac/AppDelegate.cs')
| -rw-r--r-- | MediaBrowser.Server.Mac/AppDelegate.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Mac/AppDelegate.cs b/MediaBrowser.Server.Mac/AppDelegate.cs new file mode 100644 index 0000000000..21ceebd564 --- /dev/null +++ b/MediaBrowser.Server.Mac/AppDelegate.cs @@ -0,0 +1,24 @@ +using System; +using System.Drawing; +using MonoMac.Foundation; +using MonoMac.AppKit; +using MonoMac.ObjCRuntime; + +namespace MediaBrowser.Server.Mac +{ + public partial class AppDelegate : NSApplicationDelegate + { + MainWindowController mainWindowController; + + public AppDelegate () + { + } + + public override void FinishedLaunching (NSObject notification) + { + mainWindowController = new MainWindowController (); + mainWindowController.Window.MakeKeyAndOrderFront (this); + } + } +} + |
