aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Mono/Native/NativeApp.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-07 12:22:19 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-07 12:22:19 -0400
commit4a030a70a95a51af22f8915801f28614d638714e (patch)
tree18451543f49dd642211fa604404d55dac76e7a1f /MediaBrowser.Server.Mono/Native/NativeApp.cs
parent65f78ea5ad19620d73eba54ac289fb78ef70af2b (diff)
remove self update capability from service
Diffstat (limited to 'MediaBrowser.Server.Mono/Native/NativeApp.cs')
-rw-r--r--MediaBrowser.Server.Mono/Native/NativeApp.cs26
1 files changed, 25 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Mono/Native/NativeApp.cs b/MediaBrowser.Server.Mono/Native/NativeApp.cs
index 4cc2dcebf3..b8c4447e5f 100644
--- a/MediaBrowser.Server.Mono/Native/NativeApp.cs
+++ b/MediaBrowser.Server.Mono/Native/NativeApp.cs
@@ -21,6 +21,30 @@ namespace MediaBrowser.ServerApplication.Native
public static void Restart()
{
MainClass.Restart ();
- }
+ }
+
+ /// <summary>
+ /// Determines whether this instance [can self restart].
+ /// </summary>
+ /// <returns><c>true</c> if this instance [can self restart]; otherwise, <c>false</c>.</returns>
+ public static bool CanSelfRestart
+ {
+ get
+ {
+ return MainClass.CanSelfRestart;
+ }
+ }
+
+ /// <summary>
+ /// Gets a value indicating whether this instance can self update.
+ /// </summary>
+ /// <value><c>true</c> if this instance can self update; otherwise, <c>false</c>.</value>
+ public static bool CanSelfUpdate
+ {
+ get
+ {
+ return MainClass.CanSelfUpdate;
+ }
+ }
}
}