aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Mac/AppDelegate.cs
blob: 6cf183aa5742438af3b7972244b307b7a40f9e89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Drawing;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;

namespace MediaBrowser.Server.Mac
{
	public partial class AppDelegate : NSApplicationDelegate
	{
		public AppDelegate ()
		{

		}

		public override void FinishedLaunching (NSObject notification)
		{
			new MenuBarIcon (MainClass.AppHost.LogManager.GetLogger("Tray"))
				.ShowIcon ();
		}
	}
}