using System;
using MediaBrowser.Server.Startup.Common;
namespace MediaBrowser.Server.Mac
{
///
/// Class NativeApp
///
public class NativeApp : BaseMonoApp
{
///
/// Shutdowns this instance.
///
public override void Shutdown()
{
MainClass.Shutdown();
}
///
/// Determines whether this instance [can self restart].
///
/// true if this instance can self restart; otherwise, false.
public override bool CanSelfRestart
{
get
{
return true;
}
}
///
/// Restarts this instance.
///
public override void Restart(StartupOptions options)
{
MainClass.Restart();
}
}
}