aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Mac/Native/NativeApp.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-11-14 02:29:42 -0500
committerGitHub <noreply@github.com>2016-11-14 02:29:42 -0500
commit54d3c2eed767b6d030961f9a75216c447f94abef (patch)
tree1855731242b35ffbed16beb1c96de1e6442a797e /MediaBrowser.Server.Mac/Native/NativeApp.cs
parente8379b865c301cb8ab65eb5b883c44abdbedcf79 (diff)
parent43c69713835afee3d27ced041e5f96ec36fa0ce3 (diff)
Merge pull request #2288 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Mac/Native/NativeApp.cs')
-rw-r--r--MediaBrowser.Server.Mac/Native/NativeApp.cs46
1 files changed, 0 insertions, 46 deletions
diff --git a/MediaBrowser.Server.Mac/Native/NativeApp.cs b/MediaBrowser.Server.Mac/Native/NativeApp.cs
deleted file mode 100644
index 59fa92dd18..0000000000
--- a/MediaBrowser.Server.Mac/Native/NativeApp.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using System;
-using MediaBrowser.Server.Startup.Common;
-using MediaBrowser.Model.Logging;
-
-namespace MediaBrowser.Server.Mac
-{
- /// <summary>
- /// Class NativeApp
- /// </summary>
- public class NativeApp : BaseMonoApp
- {
- public NativeApp(ILogger logger)
- : base(logger)
- {
- }
-
- /// <summary>
- /// Shutdowns this instance.
- /// </summary>
- public override void Shutdown()
- {
- MainClass.Shutdown();
- }
-
- /// <summary>
- /// Determines whether this instance [can self restart].
- /// </summary>
- /// <value><c>true</c> if this instance can self restart; otherwise, <c>false</c>.</value>
- public override bool CanSelfRestart
- {
- get
- {
- return true;
- }
- }
-
- /// <summary>
- /// Restarts this instance.
- /// </summary>
- public override void Restart(StartupOptions options)
- {
- MainClass.Restart();
- }
- }
-}
-