2014-11-21 10:13:21 -07:00
|
|
|
using System;
|
|
|
|
using MonoMac.Foundation;
|
|
|
|
using MonoMac.AppKit;
|
|
|
|
|
2014-11-21 10:20:28 -07:00
|
|
|
namespace MediaBrowser.Server.Mac
|
2014-11-21 10:13:21 -07:00
|
|
|
{
|
|
|
|
[Register("AppController")]
|
|
|
|
public partial class AppController : NSObject
|
|
|
|
{
|
|
|
|
public AppController()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public override void AwakeFromNib()
|
|
|
|
{
|
2014-11-22 09:38:48 -07:00
|
|
|
var statusItem = NSStatusBar.SystemStatusBar.CreateStatusItem(30);
|
|
|
|
statusItem.Menu = statusMenu;
|
|
|
|
statusItem.Image = NSImage.ImageNamed("touchicon");
|
|
|
|
statusItem.HighlightMode = true;
|
2014-11-21 10:13:21 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
partial void HelloWorld(NSObject sender)
|
|
|
|
{
|
2014-11-22 10:15:33 -07:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void Quit(NSObject sender)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void Configure(NSObject sender)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void Browse(NSObject sender)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void Github(NSObject sender)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void ApiDocs(NSObject sender)
|
|
|
|
{
|
|
|
|
|
2014-11-21 10:13:21 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|