jellyfin/MediaBrowser.Server.Mac/AppController.cs
Luke Pulverenti e29238130c add mac files
2014-11-21 12:13:21 -05:00

30 lines
546 B
C#

using System;
using MonoMac.Foundation;
using MonoMac.AppKit;
namespace StatusMenu
{
[Register("AppController")]
public partial class AppController : NSObject
{
public AppController()
{
}
public override void AwakeFromNib()
{
var statusItem = NSStatusBar.SystemStatusBar.CreateStatusItem(30);
statusItem.Menu = statusMenu;
statusItem.Image = NSImage.ImageNamed("f3bfd_Untitled-thumb");
statusItem.HighlightMode = true;
}
partial void HelloWorld(NSObject sender)
{
Console.WriteLine("hello world");
}
}
}